diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-27 13:36:11 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-27 13:42:56 +0100 |
commit | c65f53711975d1f12f7a9ea0d59b191d8f5fbe07 (patch) | |
tree | ad0a7379015210a5fd7f1b08ec0a36085d8b0fb2 | |
parent | 66053a7ad733ff7bce6025dadd1a2128db2a1175 (diff) |
add deploy.sh script
-rwxr-xr-x | deploy.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..13b4938 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ +rm -r build/ +./build.py +tar cf - -C target . | ssh push-f.com 'sh -c "set -x; cd /var/www/rust-features.push-f.com && pwd && tar xvf - && echo done"' |