diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f42be96..9865f27 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,9 +30,9 @@ jobs: run: | docker build --tag $TAG . docker push $TAG - echo "image={$TAG}" >> $GITHUB_OUTPUT + echo "image=$TAG" >> $GITHUB_OUTPUT - name: Inline variables in the task definition - run: sed -i -e 's/AWS_ACCOUNT_ID/${{ secrets.AWS_ACCOUNT_ID }}/g' -e 's/AWS_DATABASE_URL_SECRET_NAME/${{ vars.AWS_DATABASE_URL_SECRET_NAME }}/g' -e 's/AWS_EXECUTION_ROLE/${{ vars.AWS_EXECUTION_ROLE }}/g' task-definition.json + run: sed -i -e 's/AWS_ACCOUNT_ID/${{ secrets.AWS_ACCOUNT_ID }}/g' -e 's/AWS_DATABASE_URL_SECRET_NAME/${{ vars.AWS_DATABASE_URL_SECRET_NAME }}/g' -e 's/AWS_EXECUTION_ROLE/${{ vars.AWS_EXECUTION_ROLE }}/g' -e 's/AWS_REGION/${{ secrets.AWS_REGION }}/g' task-definition.json - run: cat task-definition.json - uses: aws-actions/amazon-ecs-render-task-definition@v1 id: render-task-definition