recipiez 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/deployment_recipiez.rb +12 -0
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
@@ -209,6 +209,18 @@ namespace :recipiez do
|
|
209
209
|
system "rsync -vrz -e \"ssh -p #{ssh_options[:port]} #{get_identities}\" --exclude='.DS_Store' public/system/ #{user}@#{roles[:db].servers.first}:#{shared_path}/system"
|
210
210
|
end
|
211
211
|
|
212
|
+
|
213
|
+
desc "Rsync the wordpress uploads"
|
214
|
+
task :pull_wordpress_uploads do
|
215
|
+
`rsync -av -e \"ssh -p #{ssh_options[:port]} #{get_identities}\" #{user}@#{roles[:db].servers.first}:#{shared_path}/system/uploads/ public/wp-content/uploads/`
|
216
|
+
end
|
217
|
+
|
218
|
+
desc "Sync up the system directory"
|
219
|
+
task :push_wordpress_uploads do
|
220
|
+
system "rsync -vrz -e \"ssh -p #{ssh_options[:port]} #{get_identities}\" --exclude='.DS_Store' public/wp-content/uploads/ #{user}@#{roles[:db].servers.first}:#{shared_path}/system/uploads"
|
221
|
+
end
|
222
|
+
|
223
|
+
|
212
224
|
end
|
213
225
|
|
214
226
|
desc "Install bundler"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
8
|
+
- 5
|
9
|
+
version: 0.8.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alastair Brunton
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2015-
|
17
|
+
date: 2015-10-07 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|