Skip to content

Commit

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

permissions:
contents: read
id-token: write

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

- name: Login to Amazon ECR
Expand Down

0 comments on commit 60d311f

Please sign in to comment.