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
1c878517
Commit
1c878517
authored
Dec 07, 2016
by
Philippe Mouchel
Browse files
Add --delete options to rsync task
parent
7930ae51
Pipeline
#1876
passed with stages
in 2 minutes and 15 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
deploy.py
View file @
1c878517
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
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