deployer: set -x

This commit is contained in:
Motiejus Jakštys 2023-07-30 07:36:12 +03:00
parent 36bbceac03
commit 482f01bb01

View File

@ -44,6 +44,7 @@
script = let script = let
deployDerivationsStr = builtins.concatStringsSep " " deployDerivations; deployDerivationsStr = builtins.concatStringsSep " " deployDerivations;
in '' in ''
set -x
export GIT_SSH_COMMAND="${pkgs.openssh}/bin/ssh -i ''${CREDENTIALS_DIRECTORY}/ssh-key" export GIT_SSH_COMMAND="${pkgs.openssh}/bin/ssh -i ''${CREDENTIALS_DIRECTORY}/ssh-key"
if [[ ! -d config ]]; then if [[ ! -d config ]]; then
${pkgs.git}/bin/git clone ${repo} config ${pkgs.git}/bin/git clone ${repo} config