Skip to content

Commit

Permalink
Correct script
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Sep 13, 2024
1 parent dc35bc5 commit 11671c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/cloudformation-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 11671c6

Please sign in to comment.