Skip to content

Commit 7646677

Browse files
authored
Update main.yml
1 parent a76d45d commit 7646677

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: [ main ]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
deploy-to-github-pages:
1013
# use ubuntu-latest image to run steps on
@@ -38,6 +41,5 @@ jobs:
3841
- name: Commit wwwroot to GitHub Pages
3942
uses: JamesIves/github-pages-deploy-action@v4
4043
with:
41-
token: ${{ secrets.GITHUB_TOKEN }}
4244
branch: gh-pages
4345
folder: release/wwwroot

0 commit comments

Comments
 (0)