Skip to content

Commit

Permalink
update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dnk332 committed Apr 24, 2024
1 parent 9727527 commit 0159960
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-southeast-1

- name: Load secrets and save to app.env
run: aws secretsmanager get-secret-value --secret-id bank --query SecretString --output text | jq -r 'to_entries|map("\(.key)=\(.value)")|.[]' > app.env

Expand Down

0 comments on commit 0159960

Please sign in to comment.