Skip to content

Initital HRA growth query and results #29

Initital HRA growth query and results

Initital HRA growth query and results #29

Workflow file for this run

name: Publish dashboard data
on:
push:
branches: ['main']
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Deploy to S3
run: |
aws s3 sync --delete ./data/ s3://${{ secrets.AWS_S3_BUCKET_NAME }}/hra-dashboard-data/
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_ID }} --paths "/hra-dashboard-data/*"