Skip to content

Commit a6783e5

Browse files
committed
Do not use default branch + permissions
1 parent fce7069 commit a6783e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ on:
66
- main
77

88
jobs:
9+
910
build-and-deploy:
1011
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
1114

1215
steps:
1316
- name: Checkout repository
@@ -30,3 +33,6 @@ jobs:
3033
with:
3134
github_token: ${{ secrets.GITHUB_TOKEN }}
3235
publish_dir: ./_site
36+
publish_branch: main
37+
38+

0 commit comments

Comments
 (0)