Deploy preview site to review pull requests #5
|
@ -69,10 +69,9 @@ jobs:
|
|||
echo "WEB_HOST=${WEB_HOST}" >> $GITHUB_ENV
|
||||
echo "WEB_CONTEXT=${WEB_CONTEXT}" >> $GITHUB_ENV
|
||||
# Synchronize the local and the remote site
|
||||
rsync -halvi \
|
||||
rsync -halvi --delete \
|
||||
-e "ssh -a -x -o StrictHostKeyChecking=no" \
|
||||
./_site/ www@lafs.eval.latfa.net:/var/www/site/
|
||||
#"./_site/" "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}"
|
||||
./_site/ "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}"
|
||||
continue-on-error: true
|
||||
- name: Comment pull request
|
||||
id: comment_pull_request
|
||||
|
|
Loading…
Reference in New Issue