File tree 3 files changed +46
-14
lines changed
3 files changed +46
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up Ruby
15
+ uses : ruby/setup-ruby@v1
16
+ with :
17
+ ruby-version : 2.4.4
18
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
19
+ - name : Build
20
+ run : bundle exec jekyll build
Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ deploy :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Set up Ruby
12
+ uses : ruby/setup-ruby@v1
13
+ with :
14
+ ruby-version : 2.4.4
15
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
16
+ - name : Build
17
+ run : bundle exec jekyll build
18
+ - name : Deploy
19
+
20
+ with :
21
+ switches : -avz
22
+ path : _site/
23
+ remote_path : www/
24
+ remote_host : ${{ secrets.DEPLOY_HOST }}
25
+ remote_user : ${{ secrets.DEPLOY_USER }}
26
+ remote_key : ${{ secrets.DEPLOY_KEY }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments