forked from clan/clan-core
deploy-docs: fix undefined variable
This commit is contained in:
parent
81f7237a41
commit
8d74983103
@ -17,7 +17,7 @@ writeShellScriptBin "deploy-docs" ''
|
||||
]
|
||||
}"
|
||||
|
||||
if [ -n "$SSH_HOMEPAGE_KEY" ]; then
|
||||
if [ -n "''${SSH_HOMEPAGE_KEY:-}" ]; then
|
||||
echo "$SSH_HOMEPAGE_KEY" > ./ssh_key
|
||||
chmod 600 ./ssh_key
|
||||
sshExtraArgs="-i ./ssh_key"
|
||||
|
Loading…
Reference in New Issue
Block a user