File tree 1 file changed +60
-0
lines changed
1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : CI
4
+
5
+ # Controls when the action will run.
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the master branch
8
+ push :
9
+ branches : [ master ]
10
+ pull_request :
11
+
12
+ # Allows you to run this workflow manually from the Actions tab
13
+ workflow_dispatch :
14
+ schedule :
15
+ - cron : " 0 0 * * *"
16
+
17
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18
+ jobs :
19
+ # This workflow contains a single job called "build"
20
+ build :
21
+ # The type of runner that the job will run on
22
+ runs-on : ubuntu-latest
23
+
24
+ # Steps represent a sequence of tasks that will be executed as part of the job
25
+ steps :
26
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27
+ - uses : actions/checkout@v2
28
+
29
+ - name : Restore bundle cache
30
+ uses : actions/cache@v2
31
+ with :
32
+ path : vendor/bundle
33
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
34
+ restore-keys : |
35
+ ${{ runner.os }}-gems-
36
+
37
+ - uses : ruby/setup-ruby@v1
38
+ with :
39
+ ruby-version : ' 2.7'
40
+
41
+ - name : Install apt requirements
42
+ run : |
43
+ sudo apt-get update
44
+ sudo apt-get install libxslt-dev libxml2-dev
45
+ gem install bundler
46
+
47
+ - name : Bundle install
48
+ run : |
49
+ bundle config path vendor/bundle
50
+ bundle install --jobs 4 --retry 3
51
+ env :
52
+ NOKOGIRI_USE_SYSTEM_LIBRARIES : true
53
+
54
+ - uses : limjh16/jekyll-action-ts@v2
55
+ with :
56
+ enable_cache : true
57
+
58
+ - name : GitHub Pages action
59
+
60
+
You can’t perform that action at this time.
0 commit comments