syntax fix
This commit is contained in:
@@ -395,7 +395,7 @@ execute_task() {
|
|||||||
elif [ "$TASK_NAME" == "deployments" ]; then
|
elif [ "$TASK_NAME" == "deployments" ]; then
|
||||||
DEPLOYMENTS=""
|
DEPLOYMENTS=""
|
||||||
TREES=$(get_repositories);
|
TREES=$(get_repositories);
|
||||||
for TREE in $TREES do;
|
for TREE in $TREES; do
|
||||||
APPS=$(jq -rc '.apps[]' $TREE);
|
APPS=$(jq -rc '.apps[]' $TREE);
|
||||||
for APP in $APPS ; do
|
for APP in $APPS ; do
|
||||||
APP_NAME=$(echo "$APP" | jq -r '.name')
|
APP_NAME=$(echo "$APP" | jq -r '.name')
|
||||||
@@ -438,7 +438,7 @@ execute_task() {
|
|||||||
DEPLOY_ACTION=$(echo "$JSON" | jq -r .ACTION)
|
DEPLOY_ACTION=$(echo "$JSON" | jq -r .ACTION)
|
||||||
TREES=$(get_repositories);
|
TREES=$(get_repositories);
|
||||||
|
|
||||||
for TREE in $TREES do;
|
for TREE in $TREES; do
|
||||||
APPS=$(jq -rc '.apps[]' $TREE);
|
APPS=$(jq -rc '.apps[]' $TREE);
|
||||||
for APP in $APPS ; do
|
for APP in $APPS ; do
|
||||||
APP_NAME=$(echo "$APP" | jq -r '.name')
|
APP_NAME=$(echo "$APP" | jq -r '.name')
|
||||||
|
Reference in New Issue
Block a user