Skip to content

Commit

Permalink
Update rsync command in correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
swt2c committed Oct 9, 2024
1 parent 803d3f2 commit 87789cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,13 @@
# in a `nikola deploy` command as you like.
# DEPLOY_COMMANDS = {
# 'default': [
# "rsync -ravO --delete output/ [email protected]:/srv/www/site",
# "rsync -rav --delete output/ [email protected]:/srv/www/site",
# ]
# }

DEPLOY_COMMANDS = {
'default': [
"rsync -avP --delete-after --exclude-from=rsync-exclude.txt output/ wxpython-site:{}/htdocs".format(SITE_DIR)],
"rsync -avPO --delete-after --exclude-from=rsync-exclude.txt output/ wxpython-site:{}/htdocs".format(SITE_DIR)],
}

# github_deploy configuration
Expand Down

0 comments on commit 87789cf

Please sign in to comment.