Skip to content

Upgrade to Flutter 3 #8

Upgrade to Flutter 3

Upgrade to Flutter 3 #8

Workflow file for this run

name: preview
on:
pull_request:
paths:
- "lib/**"
- "assets/**"
- "pubspec.yaml"
- "pubspec.lock"
- "web/**"
jobs:
deploy:
runs-on: ubuntu-latest
name: deploy
# if: ${{ false }} # disable for now
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.16.0
channel: stable
cache: true
- name: Install Dependencies
run: flutter packages get
- name: Build for Web
run: flutter build web
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SLIDE_PUZZLE_1A294 }}'
projectId: slide-puzzle-1a294