File tree Expand file tree Collapse file tree 1 file changed +6
-21
lines changed
Expand file tree Collapse file tree 1 file changed +6
-21
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88permissions :
9- contents : read
9+ contents : write
1010 pages : write
1111 id-token : write
1212
@@ -15,7 +15,7 @@ concurrency:
1515 cancel-in-progress : true
1616
1717jobs :
18- build :
18+ build-and-deploy :
1919 runs-on : ubuntu-latest
2020 env :
2121 VITE_BASE_PATH : /marusya/
3434 run : yarn install --frozen-lockfile
3535 - name : Build static export
3636 run : yarn build
37- - name : Setup Pages
38- uses : actions/configure-pages@v5
39- - name : Upload artifact
40- uses : actions/upload-pages-artifact@v3
41- with :
42- path : ' ./dist'
43-
44- deploy :
45- environment :
46- name : github-pages
47- url : ${{ steps.deployment.outputs.page_url }}
48- runs-on : ubuntu-latest
49- needs : build
50- steps :
5137 - name : Deploy to GitHub Pages
52- id : deployment
53- uses : actions/deploy-pages@v4
38+ uses : peaceiris/actions-gh-pages@v4
5439 with :
55- timeout : 60000
56- error_count : 10
57- reporting_interval : 3000
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
41+ publish_dir : ./dist
42+ force_orphan : true
You can’t perform that action at this time.
0 commit comments