Skip to content

fix: [MDS-1351] Fix input assertions. (#444) #457

fix: [MDS-1351] Fix input assertions. (#444)

fix: [MDS-1351] Fix input assertions. (#444) #457

Workflow file for this run

name: Deploy to S3
on:
push:
branches:
- main
jobs:
build:
if: "${{ contains(github.event.head_commit.message, 'chore(main): release') }}"
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.3'
channel: stable
- name: Install Dependencies
run: flutter pub get
working-directory: ./example
- name: Run static analysis
run: flutter analyze .
- name: Run tests
run: flutter test
- name: Build Web
run: flutter build web --web-renderer canvaskit --release
working-directory: ./example
- name: Deploy
uses: reggionick/s3-deploy@v3
with:
folder: example/build/web
bucket: ${{ secrets.S3_BUCKET }}
bucket-region: ${{ secrets.S3_BUCKET_REGION }}
invalidation: /
delete-removed: true
no-cache: true
private: true
filesToInclude: ".*/*,*/*,**"