aboutsummaryrefslogtreecommitdiff
path: root/nixos-switch.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-06 08:41:21 -0300
committerEuAndreh <eu@euandre.org>2020-09-06 08:43:10 -0300
commit023c6ee2b27fb5bca3d77e2bd79e8118bdfbd927 (patch)
tree8778dbeb38dd68efd20d4adfc6416976a52e06ee /nixos-switch.sh
parentUse dynamic toggle for prosody (diff)
downloadserver-023c6ee2b27fb5bca3d77e2bd79e8118bdfbd927.tar.gz
server-023c6ee2b27fb5bca3d77e2bd79e8118bdfbd927.tar.xz
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.
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-xnixos-switch.sh1
1 files changed, 0 insertions, 1 deletions
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