Change yay hosting.
This commit is contained in:
parent
184c550a31
commit
20a516f96a
@ -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""
|
||||
|
Loading…
Reference in New Issue
Block a user