Skip to content

Commit 6acf629

Browse files
committed
give permissions to action
1 parent 67b11b3 commit 6acf629

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
1414
permissions:
15-
contents: read
15+
contents: write
1616
pages: write
1717
id-token: write
1818

@@ -47,4 +47,5 @@ jobs:
4747
- name: Deploy
4848
uses: JamesIves/github-pages-deploy-action@v4
4949
with:
50-
folder: ./dist
50+
folder: ./dist
51+
branch: gh-pages

0 commit comments

Comments
 (0)