Skip to content

Commit fa7036d

Browse files
committed
try this
1 parent 7d7a2a2 commit fa7036d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,16 @@ jobs:
6363

6464
# Deployment job
6565
deploy:
66+
runs-on: ubuntu-latest
67+
needs: build
68+
permissions:
69+
contents: read
70+
pages: write
71+
id-token: write
6672
environment:
6773
name: github-pages
6874
url: ${{ steps.deployment.outputs.page_url }}
69-
runs-on: ubuntu-latest
70-
needs: build
7175
steps:
7276
- name: Deploy to GitHub Pages
7377
id: deployment
74-
uses: actions/deploy-pages@v1
78+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)