Skip to content

Commit 4a1056e

Browse files
author
hywax
committed
ci: update deploy documentation site
1 parent 923fbce commit 4a1056e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: .github/workflows/docs.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,21 @@ jobs:
3737
yarn docs:build
3838
touch docs/.vitepress/dist/.nojekyll
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4141
with:
42+
name: github-pages
4243
path: docs/.vitepress/dist
4344

4445
deploy:
46+
name: Deploy
47+
needs: build
48+
permissions:
49+
pages: write
50+
id-token: write
4551
environment:
4652
name: github-pages
4753
url: ${{ steps.deployment.outputs.page_url }}
48-
needs: build
4954
runs-on: ubuntu-latest
50-
name: Deploy
5155
steps:
5256
- name: Deploy to GitHub Pages
5357
id: deployment

0 commit comments

Comments
 (0)