railman-deployment 2.0.12 → 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman-deployment/version.rb +1 -1
- data/lib/railman/tasks/deployment.rake +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc862fcfee6bd51184efe716ae3f2bf9ff3044d8b4ab3145c9506d8fe29afe7
|
4
|
+
data.tar.gz: 848453488aaa33e3af7dff6dd6f1810ace0de081a0857df0eb5456675714a5ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359b05c0eabd50140b6dc612636d0884e717af7509ec9228be71be273b031acd20555d44b6bfa2089e80bb8563511449c8e1a5015d29645185ccaa167c3ba9d5
|
7
|
+
data.tar.gz: 275de50dd0cb20811cee0b2fdb133e7c6ccd4f250b21fa5da6a40dc75e018ce1dcf08188b9cfeefec608c427024e9aef1032de7f589933d36bc2a956509e601d
|
@@ -98,11 +98,11 @@ end
|
|
98
98
|
task :sync_local_dirs_from_server do
|
99
99
|
on roles(:all) do
|
100
100
|
fetch(:sync_dirs, []).each do |sync_dir|
|
101
|
-
|
101
|
+
if test "[ -f #{fetch(:deploy_to)}/#{sync_dir} ]"
|
102
102
|
run_locally do
|
103
103
|
execute "rsync -avzm --delete --force -e ssh #{fetch(:user)}@#{fetch(:server)}:#{fetch(:deploy_to)}/#{sync_dir}/ ./#{sync_dir}/"
|
104
104
|
end
|
105
|
-
|
105
|
+
end
|
106
106
|
end
|
107
107
|
end
|
108
108
|
end
|