File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 # Allows you to run this workflow manually from the Actions tab
1212 workflow_dispatch :
1313
14+ permissions :
15+ contents : read
16+ pages : write
17+ id-token : write
18+
19+ concurrency :
20+ group : " pages"
21+ cancel-in-progress : false
22+
1423jobs :
15- build :
24+ deploy :
25+ environment :
26+ name : github-pages
27+ url : ${{ steps.deployment.outputs.page_url }}
1628 runs-on : ubuntu-latest
1729 steps :
1830 - name : Clone repository
19- uses : actions/checkout@v3
31+ uses : actions/checkout@v4
2032 with :
2133 lfs : true
2234 submodules : true
23-
2435 - name : Using en as default
2536 run : cp -a ./en/. ./
26-
27- - name : Publish to GitHub Pages
28- uses : peaceiris/actions-gh-pages@v3
37+ - name : Setup Pages
38+ uses : actions/configure-pages@v5
39+ - name : Upload artifact
40+ uses : actions/upload-pages-artifact@v3
2941 with :
30- github_token : ${{ secrets.GITHUB_TOKEN }}
31- publish_dir : ./
42+ # Upload entire repository
43+ path : ' .'
44+ - name : Deploy to GitHub Pages
45+ id : deployment
46+ uses : actions/deploy-pages@v4
3247
3348 htmlChecks :
3449 runs-on : ubuntu-latest
3550 steps :
3651 - name : Clone repository
37- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
3853 with :
3954 lfs : true
4055 submodules : true
You can’t perform that action at this time.
0 commit comments