We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bc907 commit 3986b67Copy full SHA for 3986b67
.github/workflows/docs.yml
@@ -6,9 +6,8 @@ on:
6
workflow_dispatch:
7
8
jobs:
9
- deploy:
+ build:
10
runs-on: ubuntu-latest
11
-
12
defaults:
13
run:
14
working-directory: docs
@@ -30,8 +29,19 @@ jobs:
30
29
- name: Build VitePress site
31
run: npm run docs:build
32
33
- - name: Deploy to GitHub Pages
34
- uses: peaceiris/actions-gh-pages@v3
+ - name: Upload site artifact
+ uses: actions/upload-pages-artifact@v3
35
with:
36
- github_token: ${{ secrets.GITHUB_TOKEN }}
37
- publish_dir: docs/.vitepress/dist
+ path: .vitepress/dist
+
+ deploy:
38
+ needs: build
39
+ runs-on: ubuntu-latest
40
+ environment:
41
+ name: github-pages
42
+ url: ${{ steps.deployment.outputs.page_url }}
43
44
+ steps:
45
+ - name: Deploy to GitHub Pages
46
+ id: deployment
47
+ uses: actions/deploy-pages@v4
0 commit comments