Fix deploy script
This commit is contained in:
parent
fb2a23c699
commit
ac05f016b4
@ -4,7 +4,7 @@ set -e
|
||||
|
||||
export JEKYLL_ENV=repas
|
||||
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
|
||||
lcd _site
|
||||
cd www
|
||||
@ -14,7 +14,7 @@ EOF
|
||||
|
||||
export JEKYLL_ENV=vh
|
||||
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
|
||||
lcd _site
|
||||
cd www
|
||||
|
Loading…
x
Reference in New Issue
Block a user