Skip to content

Commit fb9889b

Browse files
committed
permission woes
1 parent 0459bee commit fb9889b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
push:
55
branches:
66
- master
7-
- main
87
pull_request:
98
branches:
109
- master
11-
- main
1210

1311
jobs:
1412
build:
@@ -25,7 +23,7 @@ jobs:
2523

2624
# Deployment job
2725
deploy:
28-
# skip this job if the event that triggered the workflow is a pull request
26+
# skip this job if the event is a pull request or if the branch is not master
2927
if: github.event_name != 'pull_request'
3028
permissions:
3129
pages: write

0 commit comments

Comments
 (0)