This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
Revert "fixes push" #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |