File tree Expand file tree Collapse file tree 1 file changed +8
-18
lines changed
Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Original file line number Diff line number Diff line change 1212 workflow_dispatch :
1313
1414permissions :
15- contents : read
16- pages : write
17- id-token : write
15+ contents : write
1816
1917concurrency :
2018 group : " pages"
2119 cancel-in-progress : false
2220
2321jobs :
24- build :
22+ build-and-deploy :
2523 runs-on : ubuntu-latest
2624 steps :
2725 - name : Checkout
@@ -64,18 +62,10 @@ jobs:
6462 - name : Ensure .nojekyll exists
6563 run : touch catalog/out/.nojekyll
6664
67- - name : Upload artifact
68- uses : actions/upload-pages-artifact@v3
65+ - name : Deploy to gh-pages branch
66+ uses : peaceiris/actions-gh-pages@v4
6967 with :
70- path : catalog/out
71-
72- deploy :
73- environment :
74- name : github-pages
75- url : ${{ steps.deployment.outputs.page_url }}
76- runs-on : ubuntu-latest
77- needs : build
78- steps :
79- - name : Deploy to GitHub Pages
80- id : deployment
81- uses : actions/deploy-pages@v4
68+ github_token : ${{ secrets.GITHUB_TOKEN }}
69+ publish_dir : ./catalog/out
70+ publish_branch : gh-pages
71+ force_orphan : true
You can’t perform that action at this time.
0 commit comments