fix(invoke): publishing with simpler options

This commit is contained in:
Fabrice Mouhartem 2024-10-19 17:45:42 +02:00
parent 59fe511c25
commit c68e027c01
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

View File

@ -137,7 +137,7 @@ def publish(c):
"""Publish to production via rsync"""
pelican_run("-s {settings_publish}".format(**CONFIG))
c.run(
'rsync --delete --exclude ".DS_Store" -pthrvz -c '
'rsync --delete --exclude ".DS_Store" -rv -c '
'-e "ssh -p {ssh_port}" '
"{} {ssh_user}@{ssh_host}:{ssh_path}".format(
CONFIG["deploy_path"].rstrip("/") + "/", **CONFIG