From 959bb681994ce26e4ad6ac8277b7f57fab3d162c Mon Sep 17 00:00:00 2001 From: Luis Rodriguez Date: Fri, 25 Oct 2024 16:01:48 -0400 Subject: [PATCH] switch .yml --- .github/workflows/build-deploy-cloudrun-function.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy-cloudrun-function.yml b/.github/workflows/build-deploy-cloudrun-function.yml index 61d8638..89094fa 100644 --- a/.github/workflows/build-deploy-cloudrun-function.yml +++ b/.github/workflows/build-deploy-cloudrun-function.yml @@ -81,8 +81,7 @@ jobs: run: | gcloud config set project ${{ secrets.GCP_PROJECT_ID }} gcloud functions deploy ${{ inputs.function_name }}-${{ needs.build.outputs.build-number }} \ - --flags-file=function_config.json \ - --no-allow-unauthenticated \ + --flags-file=function_config.yml \ --region $GCP_REGION \ --build-service-account=projects/${{ secrets.GCP_PROJECT_ID }}/serviceAccounts/${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} \ --run-service-account=${{ secrets.RUN_SERVICE_ACCOUNT }}