Skip to content

Commit 7c3b3d2

Browse files
author
Vic Shóstak
committed
Fix GH deploy action
1 parent 1be8294 commit 7c3b3d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/vitepress.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ jobs:
4545
path: docs/.vitepress/dist
4646

4747
deploy:
48+
needs: build
49+
permissions:
50+
pages: write
51+
id-token: write
4852
environment:
4953
name: github-pages
5054
url: ${{ steps.deployment.outputs.page_url }}
51-
needs: build
5255
runs-on: ubuntu-latest
53-
name: Deploy
5456
steps:
5557
- name: Deploy to GitHub Pages
5658
id: deployment
57-
uses: actions/deploy-pages@v2
58-
with:
59-
token: ${{ secrets.GITHUB_TOKEN }}
59+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)