Skip to content

⚡ Recreate Android & Web project #2

⚡ Recreate Android & Web project

⚡ Recreate Android & Web project #2

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on push
"on":
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./example
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter --version
- run: flutter pub get
- run: flutter build web --pwa-strategy=none
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLUTTER_ADMONITIONS }}"
channelId: live
projectId: flutter-admonitions
entryPoint: ./example