Skip to content

Commit 51af458

Browse files
committed
ci: configure deployment job
1 parent 6e77c4a commit 51af458

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-gh-pages.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ jobs:
4747
environment:
4848
name: github-pages
4949
url: ${{ steps.deployment.outputs.page_url }}
50+
5051
runs-on: ubuntu-latest
5152
needs: build
53+
54+
permissions:
55+
pages: write
56+
id-token: write
57+
5258
steps:
5359
- name: Deploy to GitHub Pages
5460
id: deployment
55-
uses: actions/deploy-pages@v1
61+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)