Skip to content

Commit

Permalink
Merge pull request #7 from mystist/main
Browse files Browse the repository at this point in the history
chore: tweak
  • Loading branch information
mystist authored Aug 24, 2024
2 parents f266194 + f33faa8 commit 53d40d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ jobs:
env:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_GITHUB_PAT_ARN_ID: ${{ secrets.AWS_GITHUB_PAT_ARN_ID }}
ECS_TASK_DEFINITION: ${{ env.ECS_TASK_DEFINITION }}
run: |
sed -i 's|${AWS_ACCOUNT_ID}|'"$AWS_ACCOUNT_ID"'|' ${{ env.AWS_ACCOUNT_ID }}
sed -i 's|${AWS_GITHUB_PAT_ARN_ID}|'"$AWS_GITHUB_PAT_ARN_ID"'|' ${{ env.AWS_GITHUB_PAT_ARN_ID }}
sed -i 's|${AWS_ACCOUNT_ID}|'"$AWS_ACCOUNT_ID"'|' $ECS_TASK_DEFINITION
sed -i 's|${AWS_GITHUB_PAT_ARN_ID}|'"$AWS_GITHUB_PAT_ARN_ID"'|' $ECS_TASK_DEFINITION
- name: Render Amazon ECS task definition
id: render-task-def
Expand Down

0 comments on commit 53d40d3

Please sign in to comment.