aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/deploy.sh b/deploy.sh
deleted file mode 100755
index 462cfdf..0000000
--- a/deploy.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# end up when failed
-set -Eeuo pipefail
-
-if [ $# -eq 0 ]; then
- echo 'Should provide least one argument'
- exit 1
-fi
-
-if [ -z ${SSH_CLIENT+x} ]; then
- ADDITIONAL_PARAM="--partial"
-else
- ADDITIONAL_PARAM="-Pv"
-fi
-
-/usr/bin/date +%s > "packages/LASTSYNC"
-/usr/bin/rsync $ADDITIONAL_PARAM -r -c --update --links --delete --exclude=.gitignore "packages/" $1:/var/www/repo/