Browse Source

Use echo in if statement

cldc-2563-aws-production-pipeline-backup
Sam Seed 1 year ago
parent
commit
9420737851
  1. 2
      .github/workflows/aws_deploy.yml

2
.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:

Loading…
Cancel
Save