summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-10-23 11:50:54 +0200
committerMartin Fischer <martin@push-f.com>2022-10-23 11:58:44 +0200
commitecf142a7f105471eaf1da421ff1bf55881e6b493 (patch)
treea3b508031b1546181e27b7c7df1a256ba472e9ad /deploy.sh
initial commit
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..1b3c6a9
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+tar cf - index.html script.js | ssh push-f.com 'sh -c "
+set -x &&
+cd /var/www/geopos.link &&
+rm -rf * &&
+tar xvf -
+"'