Skip to content

Merge pull request #429 from nikul-sagadhara/develop #177

Merge pull request #429 from nikul-sagadhara/develop

Merge pull request #429 from nikul-sagadhara/develop #177

Workflow file for this run

# 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:
- develop
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Create temp serviceAccount.json
run: echo "{}" > serviceAccount.json
- run: npm ci
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEVFESTAHM_DEVELOP }}'
channelId: live
projectId: devfestahm-develop