Skip to content

Update firebase-hosting-merge.yml #4

Update firebase-hosting-merge.yml

Update firebase-hosting-merge.yml #4

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: my-app
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build the app
run: npm run build
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FINDMYNEXTCOURSE }}
channelId: live
projectId: findmynextcourse
env:
FIREBASE_CLI_PREVIEWS: hostingchannels