summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 0f98bbd..ad5b3f9 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1 +1,6 @@
-tar cf - -C dist . | ssh pydoc.dev 'sh -c "set -x; cd /var/www/pydoc.dev && rm -r * && pwd && tar xvf - && echo done"'
+tar cf - -C dist . | ssh pydoc.dev 'sh -c "
+set -x &&
+cd /var/www/pydoc.dev &&
+rm -r * &&
+tar xvf -
+"'