Skip to content

feat: add SNS_TOPIC variable #130

feat: add SNS_TOPIC variable

feat: add SNS_TOPIC variable #130

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