diff options
author | Martin Fischer <martin@push-f.com> | 2022-10-23 11:50:54 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-10-23 11:58:44 +0200 |
commit | ecf142a7f105471eaf1da421ff1bf55881e6b493 (patch) | |
tree | a3b508031b1546181e27b7c7df1a256ba472e9ad /deploy.sh |
initial commit
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 6 |
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 - +"' |