Skip to content

Commit

Permalink
Add two more parameters for items not managed by terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdrees committed Oct 28, 2024
1 parent 066c7b4 commit 1cba2f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-deploy-cloudrun-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ on:
description: 'The name of the Cloud Function to deploy'
type: string
required: true
entry_point:
description: 'The python function serving as the entry point'
type: string
required: true
runtime:
description: 'The function runtime'
type: string
required: true
secrets:
WORKLOAD_IDENTITY_PROVIDER:
description: 'Workload Identity Provider'
Expand Down Expand Up @@ -63,6 +71,8 @@ jobs:
gcloud functions deploy ${{ inputs.function_name }} \
--region $GCP_REGION \
--source=./${{ inputs.function_name }} \
--entry-point=${{ inputs.entry_point }} \
--runtime=${{ inputs.runtime }} \
--build-service-account=projects/${{ secrets.GCP_PROJECT_ID }}/serviceAccounts/${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} \
- uses: actions/github-script@v6
Expand Down

0 comments on commit 1cba2f3

Please sign in to comment.