Skip to content

Commit 476b51e

Browse files
committed
fix deployment permissions
1 parent ec823ad commit 476b51e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77
contents: read
88
pages: write
99
id-token: write
10+
deployments: write
1011

1112
# Allow one concurrent deployment
1213
concurrency:
@@ -16,6 +17,9 @@ concurrency:
1617
jobs:
1718
build:
1819
runs-on: ubuntu-latest
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
1923
steps:
2024
- uses: actions/checkout@v2
2125
- uses: actions/setup-node@v3
@@ -36,7 +40,7 @@ jobs:
3640
with:
3741
# Upload entire repository
3842
path: "./out"
39-
43+
4044
- name: Deploy to GitHub Pages
4145
id: deployment
4246
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)