that should do the job

This commit is contained in:
Robin Müller 2023-09-19 20:40:58 +02:00
parent 0097c31518
commit 58a77754ec
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -10,7 +10,10 @@ pipeline {
steps {
sshagent(credentials: ['documentation-buildfix']) {
// Deploy to Apache webserver
sh 'rsync -r buildfix@documentation.irs.uni-stuttgart.de:/'
sh """
rsync -r --exclude projects/* --exclude static/font-univers \\
. buildfix@documentation.irs.uni-stuttgart.de:/ --delete \\
"""
}
}
}