Skip to content

Commit c97c0af

Browse files
committed
Tried to fix the build workflow
1 parent ad59306 commit c97c0af

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
push:
55
branches:
66
- main # or the branch you want to trigger on
7-
pull_request:
8-
branches:
9-
- main # or the branch you want to trigger on
7+
8+
permissions:
9+
contents: write
1010

1111
jobs:
1212
build_and_deploy:
@@ -39,7 +39,6 @@ jobs:
3939
with:
4040
branch: gh-pages # The branch you want to deploy to
4141
folder: dist # The folder to deploy from
42-
token: ${{ secrets.GITHUB_TOKEN }}
4342

4443
# Create a release with the built dist folder as a zip file
4544
- name: Create GitHub Release

0 commit comments

Comments
 (0)