Skip to content

Commit

Permalink
Update deploy-stg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanStoves authored Nov 13, 2024
1 parent a128f2e commit 16c7d39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
workflow_dispatch:

permissions:
contents: read
id-token: write

jobs:
deploy:
name: Deploy
Expand All @@ -23,8 +27,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.STG_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.STG_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AVRAE_GITHUB_OIDC_ROLE_ARN }}
role-session-name: "avrae-service-deploy-stg"
aws-region: ${{ env.REGION }}

- name: Login to Amazon ECR
Expand Down

0 comments on commit 16c7d39

Please sign in to comment.