This commit is contained in:
Motiejus Jakštys 2023-09-18 20:32:22 +03:00
parent 8a1c9e2210
commit ceb7fe191e

View File

@ -10,7 +10,7 @@
derivationTarget, derivationTarget,
altHostname, altHostname,
}: '' }: ''
if ping -c 1 ${altHostname}; then if ${pkgs.inetutils}/bin/ping -c 1 ${altHostname}; then
${pkgs.deploy-rs}/bin/deploy \ ${pkgs.deploy-rs}/bin/deploy \
--ssh-opts="-i ''${CREDENTIALS_DIRECTORY}/ssh-key" \ --ssh-opts="-i ''${CREDENTIALS_DIRECTORY}/ssh-key" \
--ssh-user=deployerbot-follower \ --ssh-user=deployerbot-follower \