Merge pull request #55 from gugcz/msd-logo-link #72
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
name: Deploy Staging to Firebase Hosting on merge | |
'on': | |
push: | |
branches: | |
- main | |
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: staging | |
projectId: gug-web-2023 | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |