From 26f118a2dc6b0ba2bbede18aeb87a81e464ed9ec Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 6 Oct 2023 11:17:07 +0100 Subject: [PATCH] Add semicolons into if statement --- .github/workflows/aws_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index b3b9a4782..e20b28ea6 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -104,7 +104,7 @@ jobs: - name: Construct environment-dependent tag id: tag run: | - echo "::set-output name=tag::$(if [[ ${{ inputs.environment == 'production' }} ]] then ${{ steps.latestrelease.outputs.releasetag }} else ${{ steps.timestamp.outputs.timestamp }} fi)" + echo "::set-output name=tag::$(if [[ ${{ inputs.environment == 'production' }} ]]; then ${{ steps.latestrelease.outputs.releasetag }}; else ${{ steps.timestamp.outputs.timestamp }}; fi)" - name: Add environment tag to existing image env: