Fix deploy script
This commit is contained in:
@@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
export JEKYLL_ENV=repas
|
export JEKYLL_ENV=repas
|
||||||
bundle exec jekyll build
|
bundle exec jekyll build
|
||||||
USER_RE=`cat ../userrepas.txt`
|
export USER_RE=`cat ../userrepas.txt`
|
||||||
sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_RE@sagou.in:/ << EOF
|
sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_RE@sagou.in:/ << EOF
|
||||||
lcd _site
|
lcd _site
|
||||||
cd www
|
cd www
|
||||||
@@ -14,7 +14,7 @@ EOF
|
|||||||
|
|
||||||
export JEKYLL_ENV=vh
|
export JEKYLL_ENV=vh
|
||||||
bundle exec jekyll build --config _config.yml,_configar.yml
|
bundle exec jekyll build --config _config.yml,_configar.yml
|
||||||
USER_VH=`cat ../uservh.txt`
|
export USER_VH=`cat ../uservh.txt`
|
||||||
sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_VH@sagou.in:/ << EOF
|
sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_VH@sagou.in:/ << EOF
|
||||||
lcd _site
|
lcd _site
|
||||||
cd www
|
cd www
|
||||||
|
|||||||
Reference in New Issue
Block a user