diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9402b13024..5eba5cbc74 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,6 +31,9 @@ jobs: env: NEXT_PUBLIC_QUESTION_SERVICE_URL: ${{ secrets.NEXT_PUBLIC_QUESTION_SERVICE_URL }} NEXT_PUBLIC_AUTH_SERVICE_URL: ${{ secrets.NEXT_PUBLIC_AUTH_SERVICE_URL }} + NEXT_PUBLIC_USER_SERVICE_URL: ${{ secrets.NEXT_PUBLIC_USER_SERVICE_URL }} + USER_SERVICE_URL: ${{ secrets.USER_SERVICE_URL }} + QUESTION_SERVICE_URL: ${{ secrets.QUESTION_SERVICE_URL }} run: | gcloud builds submit --config cloudbuild.yaml \ --substitutions _NEXT_PUBLIC_QUESTION_SERVICE_URL=$NEXT_PUBLIC_QUESTION_SERVICE_URL,_NEXT_PUBLIC_AUTH_SERVICE_URL=$NEXT_PUBLIC_AUTH_SERVICE_URL diff --git a/cloudbuild.yaml b/cloudbuild.yaml index d702f06cf5..4d4432fb32 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -12,6 +12,12 @@ steps: "NEXT_PUBLIC_QUESTION_SERVICE_URL=${_NEXT_PUBLIC_QUESTION_SERVICE_URL}", "--build-arg", "NEXT_PUBLIC_AUTH_SERVICE_URL=${_NEXT_PUBLIC_AUTH_SERVICE_URL}", + "--build-arg", + "NEXT_PUBLIC_USER_SERVICE_URL=${_NEXT_PUBLIC_USER_SERVICE_URL}", + "--build-arg", + "USER_SERVICE_URL=${_USER_SERVICE_URL}", + "--build-arg", + "QUESTION_SERVICE_URL=${_QUESTION_SERVICE_URL}", "-f", "peerprep-fe/Dockerfile", "peerprep-fe",