File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed
Expand file tree Collapse file tree 1 file changed +6
-20
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
13- concurrency :
14- group : " pages"
15- cancel-in-progress : false
16-
1713jobs :
18- build :
14+ deploy :
1915 runs-on : ubuntu-latest
2016
2117 steps :
3430 - name : Build
3531 run : npm run build
3632
37- - name : Upload artifact
38- uses : actions/upload-pages-artifact@v3
39- with :
40- path : ./dist
41-
42- deploy :
43- environment :
44- name : github-pages
45- url : ${{ steps.deployment.outputs.page_url }}
46- runs-on : ubuntu-latest
47- needs : build
48- steps :
4933 - name : Deploy to GitHub Pages
50- id : deployment
51- uses : actions/deploy-pages@v4
34+ uses : peaceiris/actions-gh-pages@v3
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./dist
You can’t perform that action at this time.
0 commit comments