Commit 1c878517 authored by Philippe Mouchel's avatar Philippe Mouchel

Add --delete options to rsync task

parent 7930ae51
Pipeline #1876 passed with stages
in 2 minutes and 15 seconds
......@@ -128,7 +128,7 @@ def _rsync_platform(target, target_directory):
"""
Helper function to rsync platform to server.
"""
local('rsync -a --exclude sites/*/settings.php --exclude sites/*/files src/drupal/ {}@{}:{}'.format(target.get('user'), target.get('host'), target_directory))
local('rsync -a --delete --exclude sites/*/settings.php --exclude sites/*/files src/drupal/ {}@{}:{}'.format(target.get('user'), target.get('host'), target_directory))
def _aegir_provision_platform(platform, aegir_path, aegir_destsrv):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment