Skip to content
Browse files

Guts: ACTUALLY fix the busted deploy task

It turns out the problem is Vlad's rsync helper -- if you try to re-enable the
task that wraps it, it will live in the past and just rsync to the same server
again. Dumb. So this commit makes it shell out to rsync instead, which works
beautifully.
  • Loading branch information...
1 parent c71cee0 commit 5cbda6c45b2ecb830f9f41475efeba96885baf7b @nfagerlund nfagerlund committed Mar 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 config/deploy.rb
View
3 config/deploy.rb
@@ -53,7 +53,8 @@
puts "DEPLOYING TO: #{domain}"
tarball_name = "puppetdocs-latest.tar.gz"
staging_dir = "~/puppetdocs_deploy"
- rsync tarball_name, "~/"
+# rsync tarball_name, "~/"
+ sh "rsync -av --progress #{tarball_name} #{domain}:~/#{tarball_name}"
run "rm -rf #{staging_dir}"
run "mkdir -p #{staging_dir}"
run "cp ~/#{tarball_name} #{staging_dir}/"

0 comments on commit 5cbda6c

Please sign in to comment.
Something went wrong with that request. Please try again.