Skip to content

Commit 7c793de

Browse files
committed
testing: env vars mocks for deployment
1 parent 3f9722c commit 7c793de

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/dev.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,7 @@ jobs:
7676
with:
7777
template-repository-name: "lambda-feedback/chat-function-boilerplate"
7878
# allow for developer to specify the environment variables that are used by the deployed AWS Lambda. Default to mock then admin can update.
79-
# environment-variables-mocks:
80-
# [
81-
# "OPENAI_API_KEY",
82-
# "OPENAI_MODEL",
83-
# "GOOGLE_AI_API_KEY",
84-
# "GOOGLE_AI_MODEL",
85-
# ]
79+
deployed-environment-variables: '["OPENAI_API_KEY","OPENAI_MODEL","GOOGLE_AI_API_KEY","GOOGLE_AI_MODEL"]'
8680
permissions:
8781
contents: read
8882
id-token: write

.github/workflows/main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,7 @@ jobs:
7676
with:
7777
template-repository-name: "lambda-feedback/chat-function-boilerplate"
7878
# allow for developer to specify the environment variables that are used by the deployed AWS Lambda. Default to mock then admin can update.
79-
# environment-variables-mocks:
80-
# [
81-
# "OPENAI_API_KEY",
82-
# "OPENAI_MODEL",
83-
# "GOOGLE_AI_API_KEY",
84-
# "GOOGLE_AI_MODEL",
85-
# ]
79+
# deployed-environment-variables: '["OPENAI_API_KEY","OPENAI_MODEL","GOOGLE_AI_API_KEY","GOOGLE_AI_MODEL"]'
8680
permissions:
8781
contents: read
8882
id-token: write

0 commit comments

Comments
 (0)