From 9e7e2e7e547c4114612f54b6b2baff0553cece77 Mon Sep 17 00:00:00 2001 From: Luis Rodriguez Date: Tue, 29 Oct 2024 15:45:50 -0400 Subject: [PATCH] pass region as a var --- .github/workflows/build-deploy-cloudrun-function.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-cloudrun-function.yml b/.github/workflows/build-deploy-cloudrun-function.yml index 6082743..ba7633e 100644 --- a/.github/workflows/build-deploy-cloudrun-function.yml +++ b/.github/workflows/build-deploy-cloudrun-function.yml @@ -71,7 +71,7 @@ jobs: run: | gcloud config set project ${{ vars.GCP_PROJECT_ID }} gcloud functions deploy ${{ inputs.function_name }} \ - --region us-central1 \ + --region ${{ vars.GCP_REGION }} \ --source=./${{ inputs.function_name }} \ --entry-point=${{ inputs.entry_point }} \ --runtime=${{ inputs.runtime }} \