Skip to content

Commit c99e515

Browse files
committed
chore: 🤖 bot should now be able to push up GH pages
1 parent 0519358 commit c99e515

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main # or master, depending on your default branch
77

8+
# Add permissions block
9+
permissions:
10+
contents: write
11+
812
jobs:
913
build-and-deploy:
1014
runs-on: ubuntu-latest
@@ -38,4 +42,5 @@ jobs:
3842
uses: JamesIves/github-pages-deploy-action@v4
3943
with:
4044
folder: public
41-
branch: gh-pages
45+
branch: gh-pages
46+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)