Skip to content

Commit ade7a9b

Browse files
committed
add env vars in deployment
1 parent d8e24a4 commit ade7a9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy_function.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ on:
4848
push:
4949
branches:
5050
- "main"
51-
- feature/pdf-cloud-function
51+
- report-python-cloud-run
5252

5353
env:
5454
PROJECT_ID: dgds-i1000482-002
@@ -104,6 +104,10 @@ jobs:
104104
region: ${{ env.REGION }}
105105
# NOTE: If using a pre-built image, update the image name here
106106
image: ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/${{ env.SERVICE }}:${{ github.sha }}
107+
env_vars: |-
108+
OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE }}
109+
AZURE_OPENAI_API_KEY=${{ secrets.AZURE_OPENAI_API_KEY }}
110+
AZURE_OPENAI_DEPLOYMENT_NAME=${{ secrets.AZURE_OPENAI_DEPLOYMENT_NAME }}
107111
108112
# If required, use the Cloud Run url output in later steps
109113
- name: Show Output

0 commit comments

Comments
 (0)