File tree Expand file tree Collapse file tree 2 files changed +41
-22
lines changed Expand file tree Collapse file tree 2 files changed +41
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ workflow_dispatch :
7
+ concurrency :
8
+ group : " pages"
9
+ cancel-in-progress : false
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Set up Ruby
18
+ uses : ruby/setup-ruby@v1
19
+ with :
20
+ ruby-version : 3.3
21
+ bundler-cache : true
22
+ - name : Setup Pages
23
+ uses : actions/configure-pages@v5
24
+ - name : Jekyll Build
25
+ run : bundle exec jekyll build
26
+ - name : Upload artifact
27
+ uses : actions/upload-pages-artifact@v3
28
+ deploy :
29
+ runs-on : ubuntu-latest
30
+ needs : build
31
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
32
+ permissions :
33
+ pages : write # to deploy to Pages
34
+ id-token : write # to verify the deployment originates from an appropriate source
35
+ environment :
36
+ name : github-pages
37
+ url : ${{ steps.deployment.outputs.page_url }}
38
+ steps :
39
+ - name : Deploy to GitHub Pages
40
+ id : deployment
41
+ uses : actions/deploy-pages@v4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments