commit 482f01bb01e7035ba2d8e35195832498003bcc1e (tree)
parent 36bbceac032d890344a2f0d64b627ccbaea47abe
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Sun, 30 Jul 2023 07:36:12 +0300
deployer: set -x
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/modules/services/deployerbot/default.nix b/modules/services/deployerbot/default.nix
@@ -44,6 +44,7 @@
script = let
deployDerivationsStr = builtins.concatStringsSep " " deployDerivations;
in ''
+ set -x
export GIT_SSH_COMMAND="${pkgs.openssh}/bin/ssh -i ''${CREDENTIALS_DIRECTORY}/ssh-key"
if [[ ! -d config ]]; then
${pkgs.git}/bin/git clone ${repo} config