Update firebase-hosting-merge.yml #175
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
# This file is modified from the auto-generated version from the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Deploy Prod to Firebase Hosting | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.0.0' | |
cache: 'yarn' | |
- name: Install and Build 🔧 | |
run: | | |
yarn install | |
yarn build:all | |
- name: Deploy 🚀 | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODEOFMUSIC_16A81 }}' | |
channelId: live | |
projectId: codeofmusic-16a81 |