Skip to content

Commit a0e6351

Browse files
committed
new github pages version
1 parent 06d6b46 commit a0e6351

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pages.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,15 @@ jobs:
192192

193193
# Deployment job
194194
deploy:
195+
needs: build
196+
permissions:
197+
pages: write # to deploy to Pages
198+
id-token: write # to verify the deployment originates from an appropriate source
195199
environment:
196200
name: github-pages
197201
url: ${{ steps.deployment.outputs.page_url }}
198202
runs-on: ubuntu-latest
199-
needs: build
200203
steps:
201204
- name: Deploy to GitHub Pages
202205
id: deployment
203-
uses: actions/deploy-pages@v3
204-
with:
205-
token: ${{ secrets.GITHUB_TOKEN }}
206+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)