Skip to content

Commit

Permalink
[Actions] Updated .github/actions/cloudformation-deploy/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Sep 13, 2024
1 parent e74c242 commit 950870a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/cloudformation-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ runs:
id: priorities
shell: bash
run: |
if [ "${{inputs.AWS_LOAD_BALANCER_PRIORITY}" -gt 0 ]; then
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 950870a

Please sign in to comment.