build(deps): bump the go_router group across 1 directory with 2 updat… #331
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |