212e170f6a1b977563bea80cbab8673aed68c5b9 — Richard Bradfield 2 years ago 10f7bc7
Notes about spaces in environment vars

Since quoted strings in a build manifest will have the quotes removed
when parsed, environment variables which include spaces need to be
quoted twice.
1 files changed, 8 insertions(+), 0 deletions(-)

M builds.sr.ht/manifest.md
M builds.sr.ht/manifest.md => builds.sr.ht/manifest.md +8 -0
@@ 99,6 99,14 @@ See also: [Build triggers](triggers.md)
A list of key/value pairs for options to set in the build environment via

Since the value will be parsed twice, once as YAML and once by `bash`,
string literals containing spaces must be 'doubly quoted':

  GIT_SSH_COMMAND: '"ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"'

## secrets

*list* (of *string*)