Skip to content

fix version

fix version #40

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase
on:
push:
tags:
- v*
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v2
- run: echo "${{ secrets.ENV_FILE }}" | base64 --decode > assets/.env
# Setup the flutter environment.
- uses: subosito/flutter-action@v1
with:
channel: 'stable' # 'dev', 'alpha', default to: 'stable'
- run: flutter doctor -v
- run: flutter clean
# Get flutter dependencies.
- run: flutter pub get
# Statically analyze the Dart code for any errors.
- run: flutter analyze .
- name: Build Release
run: flutter build web
- name: Install Firebase
run: curl -sL https://firebase.tools | bash
- name: Deploy to Firebase
run: firebase deploy --only hosting --token ${{secrets.FIREBASE_TOKEN}}