File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 2121
2222 timeout-minutes : 10
2323
24- environment :
25- name : github-pages
26- url : ${{ steps.deployment.outputs.page_url }}
24+ environment : github-pages
2725
2826 runs-on : ubuntu-latest
2927
@@ -70,18 +68,10 @@ jobs:
7068
7169 # Deploy with Github Static Pages
7270
73- - name : Setup Pages
74- uses : actions/configure -pages@v4
71+ - name : Deploy to gh-pages branch 🚀
72+ uses : peaceiris/actions-gh -pages@v4
7573 with :
76- enablement : true
77- # token:
78-
79- - name : Upload artifact
80- uses : actions/upload-pages-artifact@v3
81- with :
82- # Upload dist dir
83- path : ' ./dist'
84-
85- - name : Deploy to GitHub Pages 🚀
86- id : deployment
87- uses : actions/deploy-pages@v4
74+ github_token : ${{ secrets.GITHUB_TOKEN }}
75+ publish_dir : ./dist
76+ publish_branch : gh-pages
77+ force_orphan : true
You can’t perform that action at this time.
0 commit comments