fix typo #2
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: Upload to S3 | |
on: | |
push: | |
branches: | |
- spike/config-per-environment | |
jobs: | |
upload_to_S3: | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-west-2 | |
- name: Save to S3 | |
run: | | |
aws s3 sync ./config/ s3://${{ secrets.CONFIG_S3_BUCKET }}/config/ --delete |