File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,13 @@ concurrency:
1818 cancel-in-progress : false
1919
2020jobs :
21- # Build job
22- build :
21+ deploy :
2322 runs-on : ubuntu-latest
2423 steps :
2524 - name : Checkout
2625 uses : actions/checkout@v4
2726 with :
28- fetch-depth : 0
27+ fetch-depth : 0
2928 - name : Setup pnpm
3029 uses : pnpm/action-setup@v4
3130 with :
4140 run : pnpm install
4241 - name : Build with VitePress
4342 run : pnpm build
44- - name : Upload artifact
45- uses : actions/upload-pages-artifact@v3
46- with :
47- path : docs/.vitepress/dist
48-
49- # Deployment job
50- deploy :
51- environment :
52- name : github-pages
53- url : ${{ steps.deployment.outputs.page_url }}
54- needs : build
55- runs-on : ubuntu-latest
56- name : Deploy
57- steps :
5843 - name : Deploy to GitHub Pages
59- id : deployment
60- uses : actions/deploy-pages@v4
44+ uses : peaceiris/actions-gh-pages@v4
45+ with :
46+ github_token : ${{ secrets.GITHUB_TOKEN }}
47+ publish_dir : ./dist
You can’t perform that action at this time.
0 commit comments