From 9420737851600d829a7f0e2f776b543e66764ddf Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 6 Oct 2023 11:23:05 +0100 Subject: [PATCH] Use echo in 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 e20b28ea6..183e4050f 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 echo ${{ steps.latestrelease.outputs.releasetag }}; else echo ${{ steps.timestamp.outputs.timestamp }}; fi)" - name: Add environment tag to existing image env: