Skip to content

Commit dc47a85

Browse files
committed
Update step permissions
1 parent 96596f9 commit dc47a85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ jobs:
99

1010
build:
1111
runs-on: ubuntu-latest
12-
# permissions:
13-
# contents: write
14-
1512
steps:
1613
- name: Checkout repository
1714
uses: actions/checkout@v4
@@ -46,6 +43,8 @@ jobs:
4643
name: github-pages
4744
url: ${{ steps.deployment.outputs.page_url }}
4845
runs-on: ubuntu-latest
46+
permissions:
47+
contents: write
4948
needs: build
5049
steps:
5150
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)