Skip to content

Commit 6483d8f

Browse files
authored
ci: change docs deployment action (#75)
1 parent f45662a commit 6483d8f

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/docs.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,22 @@ jobs:
2727
run: |
2828
npm run build
2929
npm run docs
30+
Deploy:
31+
needs: Documentation
3032

31-
- name: Deploy
32-
uses: github/pages-deploy-action@v2
33+
permissions:
34+
pages: write
35+
id-token: write
36+
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
41+
runs-on: ubuntu-latest
42+
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4
3347
with:
34-
branch: gh-pages
35-
folder: dist/docs
48+
path: dist/docs

0 commit comments

Comments
 (0)