Skip to content

rerun workflow

rerun workflow #25

# 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:
- release
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: perl -pi -e 's/API_KEY_HERE/$ENV{API_KEY}/g' src/environments/environment.ts
env:
API_KEY: ${{ secrets.API_KEY }}
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TUTORAI00411 }}'
channelId: live
projectId: tutorai00411