From 314fd83d88c18af3cab5cf338ad0157befbd7f8f Mon Sep 17 00:00:00 2001 From: Gyurix Date: Fri, 23 Aug 2024 13:51:34 +0200 Subject: [PATCH] syntax fix --- scripts/scheduler/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index e151798..a702e76 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -395,7 +395,7 @@ execute_task() { elif [ "$TASK_NAME" == "deployments" ]; then DEPLOYMENTS="" TREES=$(get_repositories); - for TREE in $TREES do; + for TREE in $TREES; do APPS=$(jq -rc '.apps[]' $TREE); for APP in $APPS ; do APP_NAME=$(echo "$APP" | jq -r '.name') @@ -438,7 +438,7 @@ execute_task() { DEPLOY_ACTION=$(echo "$JSON" | jq -r .ACTION) TREES=$(get_repositories); - for TREE in $TREES do; + for TREE in $TREES; do APPS=$(jq -rc '.apps[]' $TREE); for APP in $APPS ; do APP_NAME=$(echo "$APP" | jq -r '.name')