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 1d48787 commit fda848bCopy full SHA for fda848b
.github/workflows/gh-deploy.yml
@@ -0,0 +1,34 @@
1
+name: GH Page Deploy
2
+on:
3
+ workflow_dispatch: {}
4
+ push:
5
+ branches:
6
+ - main
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ pages: write
12
+ id-token: write
13
+ environment:
14
+ name: github-pages
15
+ url: ${{ steps.deployment.outputs.page_url }}
16
+ #
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ with:
20
+ fetch-depth: 0
21
+ - uses: actions/setup-node@v3
22
23
+ node-version: 16
24
+ #cache: npm
25
+ - run: npm i
26
+ - name: Build
27
+ run: npm run docs:build
28
+ - uses: actions/configure-pages@v2
29
+ - uses: actions/upload-pages-artifact@v1
30
31
+ path: docs/.vitepress/dist
32
+ - name: Deploy
33
+ id: deployment
34
+ uses: actions/deploy-pages@v1
0 commit comments