Change yay hosting.

This commit is contained in:
Artem Sapegin 2013-04-25 17:47:17 +04:00
parent 184c550a31
commit 20a516f96a
1 changed files with 2 additions and 2 deletions

View File

@ -144,9 +144,9 @@ ssh-add-host() {
# Upload current directory to special directory on my hosting
function yay() {
server="locum"
server="seal"
dir=`basename "$(pwd)"`
remote="~/projects/yay/$dir"
remote="~/sites/yay.sapegin.me/htdocs/$dir"
url="http://yay.sapegin.me/$dir/"
tar cp --exclude '.git' --exclude 'node_modules' . | gzip | ssh $server "mkdir -p "$remote"; gzip -cd | tar x -C "$remote""