File tree Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Original file line number Diff line number Diff line change 1111 - completed
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 : true
14+ permissions : write-all
2215
2316jobs :
2417 generate :
2518 runs-on : ubuntu-latest
2619
27- environment :
28- name : github-pages
29- url : ${{ steps.deployment.outputs.page_url }}
30-
3120 steps :
3221 - uses : actions/checkout@v3
3322 with :
3423 fetch-depth : 0
3524 token : ${{ secrets.GITHUB_TOKEN }}
3625
37- - name : Setup Pages
38- uses : actions/configure-pages@v2
39-
4026 - name : Setup Node.js
4127 uses : actions/setup-node@v3
4228
@@ -56,11 +42,10 @@ jobs:
5642 - name : Build VuePress site
5743 run : npm run build
5844
59- - name : Upload artifact
60- uses : actions/upload-pages-artifact@v1
61- with :
62- path : ' ./docs/.vuepress/dist'
63-
6445 - name : Deploy to GitHub Pages
65- id : deployment
66- uses : actions/deploy-pages@v1
46+ 47+ with :
48+ target_branch : gh-pages
49+ build_dir : docs/.vuepress/dist
50+ env :
51+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments