Skip to content

Merge pull request #12038 from MozillaFoundation/feature-branch/main-… #17

Merge pull request #12038 from MozillaFoundation/feature-branch/main-…

Merge pull request #12038 from MozillaFoundation/feature-branch/main-… #17

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