Skip to content

Commit f792971

Browse files
Merge pull request #24 from DataSeer/automatic_docker_build
fix : fix build failure
2 parents b51c08c + 587bbf1 commit f792971

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-build-dev.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- completed
88
branches:
99
- dev
10+
push:
11+
branches:
12+
- dev
1013
pull_request:
1114
types:
1215
- closed
@@ -16,8 +19,9 @@ on:
1619
jobs:
1720
build:
1821
if: |
19-
github.event.workflow_run.conclusion == 'success' &&
20-
github.event.pull_request.merged == true
22+
github.event.workflow_run.conclusion == 'success'
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
2125
runs-on: ubuntu-latest
2226

2327
steps:

0 commit comments

Comments
 (0)