Skip to content

Microphone gain fix #368

Microphone gain fix

Microphone gain fix #368

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Analyze and deploy to Firebase Hosting on PR
on: pull_request
permissions:
actions: read
checks: write
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build web bundle
uses: ./.github/actions/flutter-web-build
with:
app-dir: open_wearable
build-metadata: "true"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v6
with:
name: web-build
path: open_wearable/build/web
if-no-files-found: error
overwrite: true
deploy_preview:
needs: build
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Download Web build artifact
uses: actions/download-artifact@v7
with:
name: web-build
path: open_wearable/build/web
- uses: FirebaseExtended/action-hosting-deploy@v0
if: ${{ github.event_name == 'pull_request' }}
name: Deploy preview
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_open_earable_WEB }}
projectId: open-earable-web
expires: 28d
entryPoint: open_wearable/