From 11671c659d76794c52396be5de0f1157456f9705 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Fri, 13 Sep 2024 19:25:32 +0100 Subject: [PATCH] Correct script --- .github/actions/cloudformation-deploy/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/cloudformation-deploy/action.yml b/.github/actions/cloudformation-deploy/action.yml index a3e4db9a..e755fc5c 100644 --- a/.github/actions/cloudformation-deploy/action.yml +++ b/.github/actions/cloudformation-deploy/action.yml @@ -46,11 +46,11 @@ runs: if [ "${{inputs.AWS_LOAD_BALANCER_PRIORITY}" -gt 0 ]; then { MAIN=$((${{inputs.AWS_LOAD_BALANCER_PRIORITY}})) - DIRECT1=$((${{inputs.AWS_LOAD_BALANCER_PRIORITY}}+1)) - DIRECT2=$((${{inputs.AWS_LOAD_BALANCER_PRIORITY}}+1)) + DIRECT1=$(($MAIN+1)) + DIRECT2=$(($MAIN+2)) echo "MAIN=$MAIN" - echo "MAIN=$DIRECT1" - echo "MAIN=$DIRECT1" + echo "DIRECT1=$DIRECT1" + echo "DIRECT2=$DIRECT2" } >> "$GITHUB_OUTPUT" else {