Skip to content

Commit

Permalink
Merge pull request #395 from yeatmanlab/bf/restore-staging-deployment
Browse files Browse the repository at this point in the history
Restore staging deployment
  • Loading branch information
richford authored Feb 29, 2024
2 parents 6e8006a + 7c27dc8 commit 32cb89f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/firebase-hosting-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting (staging)
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: export VITE_STAGING_BUILD=true && npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GSE_ROAR_ADMIN }}'
channelId: live
projectId: gse-roar-admin
target: staging
2 changes: 1 addition & 1 deletion roar-firebase-functions

0 comments on commit 32cb89f

Please sign in to comment.