File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build and Deploy Site
2+
23on :
34 push :
45 branches : [master]
56 workflow_dispatch :
67 workflow_call :
7-
8+
9+ permissions :
10+ contents : write
11+
12+ concurrency :
13+ group : " pages-deployment"
14+ cancel-in-progress : true
15+
816jobs :
917 build-and-deploy :
10- permissions :
11- contents : write
12- runs-on : ubuntu-latest
18+ runs-on : ubuntu-24.04
1319 steps :
1420 - name : Checkout 🛎️
15- uses : actions/checkout@master
21+ uses : actions/checkout@v6
1622 with :
17- fetch-depth : 1
23+ fetch-depth : 0
1824
1925 - name : Install and Build 🔧
2026 run : |
2127 make setup
2228 make build
2329
24- - name : Deploy 🚀
25- uses : JamesIves/github-pages-deploy-action @v4.7.3
30+ - name : Deploy to GitHub Pages 🚀
31+ uses : peaceiris/actions-gh-pages @v4
2632 with :
27- branch : site # The branch the action should deploy to.
28- folder : site/public # The folder the action should deploy.
29- clean : true
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
34+ publish_dir : ./site/public
35+ publish_branch : gh-pages
36+ keep_files : true
You can’t perform that action at this time.
0 commit comments