Commit 0451058
authored
Update README.md (#401)
added "comma-seperated" the description for `env_vars`
This is important when using the literal block scalar `|` with a
variable `${{<variable name>}}`, as entries are not parsed separately
unless they are comma-seperated (newlines aren't enough)
example:
```
- id: "deploy"
uses: "google-github-actions/deploy-cloud-functions@v2"
with:
name: "function_name"
entry_point: "main"
runtime: "python311"
memory_mb: "8192MB"
env_vars: |
FOO=${{ env.PROJECT_NAME }}
BAR=BAZ
source_dir: ...
```
sets one environment variable `FOO` as `<project_name>\nBAR=BAZ`
Signed-off-by: jehan60188 <21280121+jehan60188@users.noreply.github.com>1 parent 3a115af commit 0451058
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments