Skip to content

Commit 44aada2

Browse files
committed
fx env typo
1 parent 61d6a67 commit 44aada2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloudbuild.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ steps:
9090
bucket_name=$(gcloud secrets versions access latest --secret="agents-bucket-name")
9191
small_google_model=$(gcloud secrets versions access latest --secret="small-google-model")
9292
medium_google_model=$(gcloud secrets versions access latest --secret="medium-google-model")
93-
google_generative_api=$(gcloud secrets versions access latest --secret="google-generative-ai-key)
93+
google_generative_api_key=$(gcloud secrets versions access latest --secret="google-generative-ai-key")
9494
echo "Working with instance: ${full_name}"
9595
echo "Checking for existing instance..."
9696
if [[ $(gcloud compute instances list --filter="name=${full_name}" --format="get(name)") ]]; then
@@ -101,7 +101,7 @@ steps:
101101
CHARACTER_FILE=${_CHARACTER_FILE},\
102102
SMALL_GOOGLE_MODEL=${small_google_model},\
103103
MEDIUM_GOOGLE_MODEL=${medium_google_model},\
104-
GOOGLE_GENERATIVE_AI_API_KEY=${google_generative_api} \
104+
GOOGLE_GENERATIVE_AI_API_KEY=${google_generative_api_key} \
105105
--zone $_ZONE || { echo "Instance update failed"; exit 1; }
106106
echo "Instance update completed"
107107
else
@@ -118,7 +118,7 @@ steps:
118118
CHARACTER_FILE=${_CHARACTER_FILE},\
119119
SMALL_GOOGLE_MODEL=${small_google_model},\
120120
MEDIUM_GOOGLE_MODEL=${medium_google_model},\
121-
GOOGLE_GENERATIVE_AI_API_KEY=${google_generative_api} \
121+
GOOGLE_GENERATIVE_AI_API_KEY=${google_generative_api_key} \
122122
--metadata-from-file startup-script=startup.sh || { echo "Instance creation failed"; exit 1; }
123123
echo "Instance creation completed"
124124
fi

0 commit comments

Comments
 (0)