Skip to content

Commit

Permalink
fix: correctly set aws credentials in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
geclos committed Sep 27, 2024
1 parent f9d2c62 commit 87aec6b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,12 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.ARN_OF_IAM_ROLE_TO_ASSUME }}
role-session-name: WebDeployment
aws-region: eu-central-1
role-skip-session-tagging: true
env:
ARN_OF_IAM_ROLE_TO_ASSUME: ${{ secrets.ARN_OF_IAM_ROLE_TO_ASSUME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Build & push docker images
working-directory: apps/infra
Expand Down

0 comments on commit 87aec6b

Please sign in to comment.