Skip to content

upgraded to dart 3

upgraded to dart 3 #11

Workflow file for this run

name: Main Workflow
on:
push:
branches:
- main
jobs:
publish-assets:
name: Upload Asset Data to S3/CloudFront
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_REGION: us-east-1
steps:
- uses: actions/checkout@v3
- run: aws s3 sync --delete './assets/data' s3://${{secrets.S3_BUCKET}}/v2/data
- run: aws cloudfront create-invalidation --distribution-id ${{secrets.CF_DIST_ID}} --paths "/v2/*"