Skip to content

Commit

Permalink
updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
joeygrable94 committed Oct 30, 2024
1 parent 64dd99b commit 6b85c22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches: [ "prod" ]
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
test:
Expand Down Expand Up @@ -78,18 +81,15 @@ jobs:
CLOUDKEY_AWS_DEFAULT_REGION: ${{ secrets.CLOUDKEY_AWS_DEFAULT_REGION }}
CLOUDKEY_AWS_S3_DEFAULT_BUCKET: ${{ secrets.CLOUDKEY_AWS_S3_DEFAULT_BUCKET }}
AWS_GITHUB_OIDC_ROLE_ARN: ${{ secrets.AWS_GITHUB_OIDC_ROLE_ARN }}
permissions:
id-token: write
contents: read
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
with:
audience: "sts.amazonaws.com"
aws-region: ${{ secrets.CLOUDKEY_AWS_DEFAULT_REGION }}
role-to-assume: ${{ secrets.AWS_GITHUB_OIDC_ROLE_ARN }}
aws-region: ${{ secrets.CLOUDKEY_AWS_DEFAULT_REGION }}
audience: "sts.amazonaws.com"
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 6b85c22

Please sign in to comment.