From 189839bab81d5f3038853c72428be1e0e32a6723 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux Date: Mon, 16 Sep 2024 17:52:13 -0400 Subject: [PATCH] fixup! Deploy to AWS ECS --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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