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 3 additions and 1 deletions
Showing only changes of commit 6c0c6216a6 - Show all commits

View File

@ -71,7 +71,9 @@ jobs:
# Synchronize the local and the remote site # Synchronize the local and the remote site
rsync -halvi --delete \ rsync -halvi --delete \
-e "ssh -a -x -o StrictHostKeyChecking=no" \ -e "ssh -a -x -o StrictHostKeyChecking=no" \
"./_site/" "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}" ./_site/ www@lafs.eval.latfa.net:/var/www/site/
#"./_site/" "${WEB_USER}@${WEB_DOMAIN}:${WEB_ROOT}${WEB_CONTEXT}"
continue-on-error: true
- name: Comment pull request - name: Comment pull request
id: comment_pull_request id: comment_pull_request
if: gitea.event_name == 'pull_request' if: gitea.event_name == 'pull_request'