Skip to content

Merge pull request #7 from leoafarias/chore/cache-improvements #24

Merge pull request #7 from leoafarias/chore/cache-improvements

Merge pull request #7 from leoafarias/chore/cache-improvements #24

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on Merge
on:
push:
branches:
- main
paths:
- "example/**"
jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
build_and_deploy:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Build Runner
run: dart run build_runner build --delete-conflicting-outputs
- name: Deploy Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
with:
entryPoint: ./example
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUPERDECK_DEV }}
channelId: live
projectId: superdeck-dev