Skip to content

Commit

Permalink
Configure AWS credentials for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
longtv2222 committed Nov 20, 2022
1 parent b377850 commit b2b3102
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
infrastructure/package-lock.json
package-lock.json
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_KEY }}
aws-region: us-east-1

- name: Build my-app
run: |
npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_KEY }}
aws-region: us-east-2
aws-region: us-east-1

- name: Build my-app
run: |
Expand Down

0 comments on commit b2b3102

Please sign in to comment.