Skip to content

build(deps): bump dio from 5.5.0+1 to 5.6.0 (#471) #332

build(deps): bump dio from 5.5.0+1 to 5.6.0 (#471)

build(deps): bump dio from 5.5.0+1 to 5.6.0 (#471) #332

name: Deploy Firebase Hosting
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FLUTTER_VERSION: "beta" # FIXME
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false
- uses: actions/checkout@v4
- name: Setup Firebase CLI Dev
uses: KoheiKanagu/composite-actions/setup-firebase-cli@main
with:
workload_identity_provider: "projects/939401085199/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider"
service_account: "[email protected]"
- uses: subosito/[email protected]
with:
channel: ${{ env.FLUTTER_VERSION }}
cache: true
cache-key: "flutter-:channel:-:version:-:hash:"
### Build ###
- name: Build
run: |
flutter pub get
flutter build web
### Deploy ###
- name: deploy
run: |
mv build/web firebase/web
cd firebase
firebase deploy