Skip to content

Commit

Permalink
set region explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
cru-Luis-Rodriguez committed Oct 29, 2024
1 parent 5a2c5cc commit 04f1bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy-cloudrun-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ jobs:
GCP_SERVICE_ACCOUNT_EMAIL: ${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }}
GCP_REGION: ${{ vars.GCP_REGION }}
run: |
gcloud config set project ${{ GCP_PROJECT_ID }}
gcloud config set project ${{ vars.GCP_PROJECT_ID }}
gcloud functions deploy ${{ inputs.function_name }} \
--region ${{ GCP_REGION }} \
--region us-central1 \
--source=./${{ inputs.function_name }} \
--entry-point=${{ inputs.entry_point }} \
--runtime=${{ inputs.runtime }} \
--build-service-account=projects/${{ GCP_PROJECT_ID }}/serviceAccounts/${{ GCP_SERVICE_ACCOUNT_EMAIL }}
--build-service-account=projects/${{ vars.GCP_PROJECT_ID }}/serviceAccounts/${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }}
- uses: actions/github-script@v6
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit 04f1bab

Please sign in to comment.