Skip to content

Commit

Permalink
Update and rename beta-deployment.yml to deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Sep 7, 2024
1 parent 01da569 commit 5beba84
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
The GitHub deployment environment.
required: false
type: string
default: staging
default: development

concurrency:
group: deployment
Expand Down Expand Up @@ -72,24 +72,21 @@ jobs:
contents: read
checks: write
secrets: inherit
dockerimage:
name: Docker Build and Push
needs: [buildandtest]
uses: StanfordBDHG/.github/.github/workflows/docker-build-and-push.yml@v2
with:
imageName: stanfordbdhg/engagehfwebfrontend
environment: package
permissions:
contents: read
packages: write
deployfirebase:
name: Deploy Firebase Project
needs: [determineenvironment, vars]
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2
needs: [buildandtest, determineenvironment, vars]
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@envFirebase
permissions:
contents: read
with:
environment: ${{ needs.determineenvironment.outputs.environment }}
arguments: '--project ${{ needs.vars.outputs.FIREBASE_PROJECT_ID }}'
secrets:
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
ENV_FILE: |
VITE_PUBLIC_FIREBASE_API_KEY='${{ secrets.VITE_PUBLIC_FIREBASE_API_KEY }}'
VITE_PUBLIC_FIREBASE_AUTH_DOMAIN='${{ secrets.VITE_PUBLIC_FIREBASE_AUTH_DOMAIN }}'
VITE_PUBLIC_FIREBASE_PROJECT_ID='${{ secrets.VITE_PUBLIC_FIREBASE_PROJECT_ID }}'
VITE_PUBLIC_FIREBASE_STORAGE_BUCKET='${{ secrets.VITE_PUBLIC_FIREBASE_STORAGE_BUCKET }}'
VITE_PUBLIC_FIREBASE_MESSAGING_SENDER_ID='${{ secrets.VITE_PUBLIC_FIREBASE_MESSAGING_SENDER_ID }}'
VITE_PUBLIC_FIREBASE_APP_ID='${{ secrets.VITE_PUBLIC_FIREBASE_APP_ID }}'

0 comments on commit 5beba84

Please sign in to comment.