Fix deploy script

This commit is contained in:
Antoine Lima 2023-09-17 23:58:54 +02:00
parent fb2a23c699
commit ac05f016b4
Signed by: antoine
GPG Key ID: 5D1E65E3DEB73410

View File

@ -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