feat: add SNS_TOPIC
variable
#130
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: Deploy configuration to S3 | |
on: | |
push: | |
branches: ["master"] | |
paths: | |
- ".github/workflows/deploy-config.yaml" | |
- "configuration/**" | |
jobs: | |
deploy-config: | |
name: Deploy configuration to S3 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: eu-west-1 | |
aws-access-key-id: ${{ secrets.CONFIG_DEPLOYER_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.CONFIG_DEPLOYER_AWS_SECRET_ACCESS_KEY }} | |
- name: Deploy configuration | |
run: aws s3 sync ./configuration s3://configuration-68f6c7 | |
- name: Force reconciliation | |
run: curl https://opentracker.app/reconcile |