Merge pull request 'deploy-docs: fix undefined variable' (#1250) from image into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1250
This commit is contained in:
Mic92
2024-04-19 11:59:35 +00:00

View File

@@ -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"