Skip to content

Commit ccb92f4

Browse files
Merge pull request #26 from DataSeer/automatic_docker_build
fix : fix build failure
2 parents 0a6a487 + a85dcd6 commit ccb92f4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

+4-8
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
workflows: ["ESLint"]
66
types:
77
- completed
8-
branches:
9-
- dev
10-
push:
11-
branches:
12-
- dev
138
pull_request:
149
types:
1510
- closed
@@ -19,9 +14,10 @@ on:
1914
jobs:
2015
build:
2116
if: |
22-
github.event.workflow_run.conclusion == 'success'
23-
github.event_name == 'push' ||
24-
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
17+
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
18+
(github.event_name == 'workflow_run' &&
19+
github.event.workflow_run.conclusion == 'success' &&
20+
github.event.workflow_run.head_branch == 'dev')
2521
runs-on: ubuntu-latest
2622

2723
steps:

0 commit comments

Comments
 (0)