Skip to content

Commit 23d5bf6

Browse files
authored
Merge pull request #29 from freeswitch/gha
[GHA] Use `push` event is trigger for publish
2 parents fac4641 + ca7c5ed commit 23d5bf6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,7 @@ jobs:
184184
${{
185185
(github.event.pull_request.head.repo.full_name == github.repository) &&
186186
(
187-
(
188-
github.event_name != 'workflow_dispatch' &&
189-
(
190-
github.event_name != 'pull_request' ||
191-
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
192-
)
193-
) ||
187+
github.event_name == 'push' ||
194188
(github.event_name == 'workflow_dispatch' && inputs.publish)
195189
)
196190
}}

0 commit comments

Comments
 (0)