chore(main): release 0.26.7 (#219) #225
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 to S3 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
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@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.5' | |
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 | |
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: ".*/*,*/*,**" |