Skip to content

fix: Empty release to force release.yml #224

fix: Empty release to force release.yml

fix: Empty release to force release.yml #224

Workflow file for this run

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: ".*/*,*/*,**"