Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markGambrelPhila committed Dec 6, 2024
1 parent af251e5 commit 60df14f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
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: arn:aws:iam::922311303087:role/github-actions@mihb-calculator@production
aws-region: us-east-1
- name: Deploy static site to S3 bucket
working-directory: ./
Expand Down

0 comments on commit 60df14f

Please sign in to comment.