Merge pull request #12038 from MozillaFoundation/feature-branch/main-… #17
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: Maintenance Page Deployment | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- maintenance/**/*.* | |
jobs: | |
deploy: | |
name: Deploy Maintenance page to S3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: AKIASHBU2IYB3B7VQPAF | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Deploy maintenance page to S3 bucket | |
run: aws s3 sync ./maintenance/ s3://foundation-mozilla-org-maintenance --acl public-read --delete |