Skip to content

Commit

Permalink
sets up push to prod from master
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Jan 22, 2025
1 parent 9117715 commit 0fc52b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/prod_push_to_s3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and deploy to S3
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::922311303087:role/github-actions@dpd-zoning-summary-generator@master
aws-region: us-east-1
- name: Deploy static site to S3 bucket
working-directory: ./
run: aws s3 sync ./ s3://dpd-zoning-summary-generator --delete

0 comments on commit 0fc52b5

Please sign in to comment.