Patch deploy script for production
This commit is contained in:
parent
e576922ba2
commit
40143d24d6
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
DESTINATION=root@xml.globalinitiative.net:/var/www/
|
||||
WEBSITE=xml.globalinitiative.net
|
||||
DESTINATION='root@212.90.206.98:/var/www/'
|
||||
WEBSITE='212.90.206.98'
|
||||
|
||||
sftp -b - "$DESTINATION" <<- EOF
|
||||
sftp -P 2222 -b - "$DESTINATION" <<- EOF
|
||||
-rm $WEBSITE/*
|
||||
$(for f in "$@"; do echo "put -R $f $WEBSITE/"; done)
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue