Skip to content

Merge pull request #15 from ramirezsebas/master #15

Merge pull request #15 from ramirezsebas/master

Merge pull request #15 from ramirezsebas/master #15

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: build and deploy
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.13.7'
channel: 'stable'
- run: |
flutter clean
flutter pub get
flutter build web --release --web-renderer canvaskit
- run: cp -R build/web/* public/
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLUTTERCONF_PY }}