Skip to content

Commit 29d93b5

Browse files
committed
k8s: testing trigger
1 parent a5c0238 commit 29d93b5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ jobs:
112112
113113
build-task-generator:
114114
if: |
115-
contains(join(github.event.head_commit.modified, ','), 'emf/common/') ||
116-
contains(join(github.event.head_commit.modified, ','), 'emf/task_generator/') ||
117-
contains(join(github.event.head_commit.modified, ','), 'config/')
115+
contains(toJson(github.event.commits.*.modified), 'emf/common/') ||
116+
contains(toJson(github.event.commits.*.modified), 'emf/task_generator/') ||
118117
119118
runs-on: ubuntu-latest
120119

emf/task_generator/manual_worker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212

1313
parse_app_properties(globals(), config.paths.task_generator.manual_task_generator)
1414

15+
# Get default timeframe and process conf
1516
timeframe_conf = config.paths.task_generator.timeframe_conf
1617
process_conf = config.paths.task_generator.process_conf
1718

19+
# Load to json
1820
process_config_json = json.load(process_conf)
1921
timeframe_config_json = json.load(timeframe_conf)
2022

0 commit comments

Comments
 (0)