fix(invoke): publishing with simpler options
This commit is contained in:
parent
59fe511c25
commit
c68e027c01
2
tasks.py
2
tasks.py
@ -137,7 +137,7 @@ def publish(c):
|
|||||||
"""Publish to production via rsync"""
|
"""Publish to production via rsync"""
|
||||||
pelican_run("-s {settings_publish}".format(**CONFIG))
|
pelican_run("-s {settings_publish}".format(**CONFIG))
|
||||||
c.run(
|
c.run(
|
||||||
'rsync --delete --exclude ".DS_Store" -pthrvz -c '
|
'rsync --delete --exclude ".DS_Store" -rv -c '
|
||||||
'-e "ssh -p {ssh_port}" '
|
'-e "ssh -p {ssh_port}" '
|
||||||
"{} {ssh_user}@{ssh_host}:{ssh_path}".format(
|
"{} {ssh_user}@{ssh_host}:{ssh_path}".format(
|
||||||
CONFIG["deploy_path"].rstrip("/") + "/", **CONFIG
|
CONFIG["deploy_path"].rstrip("/") + "/", **CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user