Skip to content

Bump json-schema and jsprim in /firebase/rules_test (#151) #81

Bump json-schema and jsprim in /firebase/rules_test (#151)

Bump json-schema and jsprim in /firebase/rules_test (#151) #81

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting
on:
push:
branches: master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./repo
steps:
- name: Get Flutter from the cache
id: cache-flutter
uses: actions/cache@v2
with:
path: flutter/
key: ${{ runner.os }}-flutter
- name: Install Flutter
if: steps.cache-flutter.outputs.cache-hit != 'true'
uses: britannio/[email protected]
- uses: actions/checkout@v2
with:
path: repo
- name: Add Flutter to path
run: echo "../flutter/bin" >> $GITHUB_PATH
- name: Build web app
run: flutter build web
- name: Deploy web app
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMAZ_GO }}'
channelId: live
projectId: ramaz-go
entryPoint: ./repo
target: main
env:
FIREBASE_CLI_PREVIEWS: hostingchannels