deploying scripts

This commit is contained in:
tmshv committed 2014-11-24 18:30:31 +03:00
1 parent 5f5909d2e9
commit 3015e14e9c
4 files changed
+40 -3

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
tar cf ~/www-build.tar \
--exclude=node_modules \
--exclude=bower_components \
--exclude=.git \
--exclude=.idea \
--exclude=deploy.sh \
--exclude=install.sh .
ssh shburg.et "rm -rf art/*"
scp ~/www-build.tar shburg@37.139.6.120:~
scp install.sh shburg@37.139.6.120:~
ssh shburg.et "./install.sh && rm ./install.sh"
rm ~/www-build.tar
echo "art.shburg.org deployment completed successfully"