Skip to content

Merge pull request #55 from koji-1009/feat/flutter_hosting #38

Merge pull request #55 from koji-1009/feat/flutter_hosting

Merge pull request #55 from koji-1009/feat/flutter_hosting #38

Workflow file for this run

name: Deploy
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: flutter pub get
run: flutter pub get
- name: build flutter web
run: flutter build web
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
projectId: default
channelId: live
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks