Deploy preview site to review pull requests #5

Merged
btlogy merged 32 commits from 1.site-preview into main 2024-05-24 11:08:07 +00:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 279a9dd94f - Show all commits

View File

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