Commit cabe8c77 authored by Victor Nikulshin's avatar Victor Nikulshin
Browse files

Merge branch 'feature/rsync-exclude' into '2.x'

Rewrite rsync exclude rules in deploy task

Exclude `files/` directories and `settings.php` files from rsyncing.

See merge request !28
parents e8b41917 162cf746
Pipeline #1831 passed with stages
in 1 minute and 30 seconds
......@@ -128,7 +128,7 @@ def _rsync_platform(target, target_directory):
Helper function to rsync platform to server.
local('rsync -a src/drupal/ {}@{}:{}'.format(target.get('user'), target.get('host'), target_directory))
local('rsync -a --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):
Supports Markdown
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