Skip to content

Commit 3e7b8cf

Browse files
authored
Run publish job on push, not merge (#51)
* Run publish action when a merge is performed on the main branch (is this really how you do it? yuck...) * Github actions fix
1 parent f15e172 commit 3e7b8cf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/publish.yml

-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ name: Publish
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
types: [ closed ]
8-
branches: [ main ]
96

107
jobs:
118
publish:
129
runs-on: ubuntu-latest
1310
environment: production
14-
if: github.event.pull_request.merged == true || github.event_name == 'push'
1511
steps:
1612
- uses: actions/checkout@v4
1713
- name: Set up JDK 8

0 commit comments

Comments
 (0)