Skip to content

Commit

Permalink
configuracion de credenciales aws
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMendozaPrado committed Apr 23, 2024
1 parent e49c3a4 commit c14e540
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,13 @@ jobs:
sudo dpkg -i sst-linux-amd64.deb
sst version
- uses: oven-sh/setup-bun@v1
- name: Setup AWS Credentials
run: |
mkdir -p ~/.aws
echo "[default]" > ~/.aws/credentials
echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials
echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::211125454464:role/GitHub
role-duration-seconds: 1200 #adjust as needed for your build time
aws-region: us-east-1

- name: Deploy to AWS with SST
run: |
bun install
Expand Down

0 comments on commit c14e540

Please sign in to comment.