Skip to content

Commit 3213c4a

Browse files
Merge pull request #27 from DataSeer/automatic_docker_build
fix : fix build failure
2 parents ccb92f4 + fb25e91 commit 3213c4a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
name: Docker Build (Dev)
22

33
on:
4+
push:
5+
branches:
6+
- dev
47
workflow_run:
58
workflows: ["ESLint"]
69
types:
710
- completed
8-
pull_request:
9-
types:
10-
- closed
11-
branches:
12-
- dev
1311

1412
jobs:
1513
build:
1614
if: |
17-
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
15+
github.event_name == 'push' ||
1816
(github.event_name == 'workflow_run' &&
19-
github.event.workflow_run.conclusion == 'success' &&
20-
github.event.workflow_run.head_branch == 'dev')
17+
github.event.workflow_run.conclusion == 'success')
2118
runs-on: ubuntu-latest
2219

2320
steps:

0 commit comments

Comments
 (0)