Skip to content

Merge pull request #52 from gugcz/main #15

Merge pull request #52 from gugcz/main

Merge pull request #52 from gugcz/main #15

name: Deploy Productiob to Firebase Hosting on merge
'on':
push:
branches:
- production
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/[email protected]
with:
cmd: install
- uses: borales/[email protected]
with:
cmd: export
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}'
channelId: live
target: production
projectId: gug-web-2023
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
deploy-pomoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}'
channelId: live
target: pomoc
projectId: gug-web-2023
env:
FIREBASE_CLI_PREVIEWS: hostingchannels