Skip to content

Commit

Permalink
GF-12: Test config and functions environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedorchuk committed Dec 26, 2023
1 parent 77436e6 commit acb6c13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
--trigger-http \
--allow-unauthenticated \
--clear-secrets \
--set-env-vars 'FOO=bar','TABLE=${{ secrets.TABLE }}'
--set-env-vars 'DATASET=${{ secrets.TABLE }}','TABLE=${{ secrets.DATASET }}'
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ def record(request):

if request_args and 'get_table' in request_args:
# return record_data({'temperature': request_args['temperature']})
return f"Table from env: {config['TABLE']}"
return f"Table from env: {config}"

return 'Try one more time ...'

0 comments on commit acb6c13

Please sign in to comment.