Skip to content

Bump semver from 5.7.1 to 5.7.2 in /firebase/cloud_functions/functions #285

Bump semver from 5.7.1 to 5.7.2 in /firebase/cloud_functions/functions

Bump semver from 5.7.1 to 5.7.2 in /firebase/cloud_functions/functions #285

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy web preview
on: pull_request
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == 'Ramaz-Upper-School/RamLife' }}
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 to preview channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMAZ_GO }}'
projectId: ramaz-go
entryPoint: ./repo
channelId: live
target: test
env:
FIREBASE_CLI_PREVIEWS: hostingchannels