Skip to content

Commit

Permalink
feat(ci): change aws cli install logic
Browse files Browse the repository at this point in the history
  • Loading branch information
astorverse committed Jul 20, 2024
1 parent 52b02f3 commit 3dc8fcc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ jobs:
- name: Set PEM file permissions
run: chmod 400 deploy_key.pem

- name: Install AWS CLI
uses: unfor19/install-aws-cli-action@v1
with:
version: 2

- name: Test AWS Credentials
run: aws sts get-caller-identity
env:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ env.AWS_REGION }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
Expand Down

0 comments on commit 3dc8fcc

Please sign in to comment.