Skip to content

Merge pull request #265 from hiteshkothari/patch-3 #232

Merge pull request #265 from hiteshkothari/patch-3

Merge pull request #265 from hiteshkothari/patch-3 #232

name: Deploy to Firebase Hosting
on:
push:
branches:
- main # Automatic build on push to main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: List Build Directory
run: ls -R ./build # Ensure build output is correct
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
projectId: flutterflow-docs-82026
channelId: live
repoToken: "${{secrets.GITHUB_TOKEN}}"