We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab25e2 commit 36db24eCopy full SHA for 36db24e
.github/workflows/publish.yml
@@ -5,19 +5,28 @@ on:
5
branches:
6
- master
7
8
+permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
jobs:
14
deploy:
15
runs-on: ubuntu-latest
16
steps:
- - uses: actions/checkout@v1
17
+ - uses: actions/checkout@v4
18
- uses: actions/setup-node@v2.1.2
19
- run: yarn
20
21
- name: Build
22
run: yarn build
23
- - name: Deploy
- uses: peaceiris/actions-gh-pages@v3
24
+ - name: Setup Pages
25
+ uses: actions/configure-pages@v5
26
+ - name: Upload artifact
27
+ uses: actions/upload-pages-artifact@v3
28
with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./docs/.vitepress/dist
29
+ path: './docs/.vitepress/dist'
30
+ - name: Deploy to GitHub Pages
31
+ id: deployment
32
+ uses: actions/deploy-pages@v4
0 commit comments