Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
162cf746
Commit
162cf746
authored
Nov 08, 2016
by
Victor Nikulshin
Browse files
Rewrite rsync exclude rules in deploy task
Exclude `files/` directories and `settings.php` files from rsyncing.
parent
15215b0d
Changes
1
Show whitespace changes
Inline
Side-by-side
deploy.py
View file @
162cf746
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment