From 023c6ee2b27fb5bca3d77e2bd79e8118bdfbd927 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 6 Sep 2020 08:41:21 -0300 Subject: nixos-switch.sh: Decouple the update of pires app from deploying the VPS This deployment is the Pires CI pipeline responsability, not the VPS deployment script responsability. --- nixos-switch.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'nixos-switch.sh') diff --git a/nixos-switch.sh b/nixos-switch.sh index 2c1d10c..dc7797d 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -15,7 +15,6 @@ scp cgit-about.html "${TLD}:${GIT_ROOT}/about.html" scp ci-gen-index.sh "${TLD}:${CI_LOGS_ROOT}/ci-gen-index.sh" scp bash-profile.sh "${TLD}:.bash_profile" -echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S systemctl restart pires-prod.service if [[ "$PROSODY_ENABLE" = true ]]; then echo Ugly hack to change TLS certificates permissions -- cgit v1.2.3