From 5beba84edb733e378d2310effe56b1f907f3a5f9 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Fri, 6 Sep 2024 21:12:06 -0700 Subject: [PATCH] Update and rename beta-deployment.yml to deployment.yml --- .../{beta-deployment.yml => deployment.yml} | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) rename .github/workflows/{beta-deployment.yml => deployment.yml} (77%) diff --git a/.github/workflows/beta-deployment.yml b/.github/workflows/deployment.yml similarity index 77% rename from .github/workflows/beta-deployment.yml rename to .github/workflows/deployment.yml index 493bf9c3..cc4316ca 100644 --- a/.github/workflows/beta-deployment.yml +++ b/.github/workflows/deployment.yml @@ -31,7 +31,7 @@ on: The GitHub deployment environment. required: false type: string - default: staging + default: development concurrency: group: deployment @@ -72,20 +72,10 @@ 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: @@ -93,3 +83,10 @@ jobs: 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 }}'