lib/alpha_omega/deploy.rb in alpha_omega-0.0.59 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.60
- old
+ new
@@ -29,13 +29,14 @@
# are not sufficient.
# =========================================================================
_cset :scm, :git
_cset :deploy_via, :checkout
- _cset :default_shell, "/bin/bash"
+ _cset(:branch) { AlphaOmega.what_branch }
+ _cset(:revision) { source.head }
+ _cset :default_shell, "/bin/bash"
_cset(:deploy_to) { "/u/apps/#{application}" }
- _cset(:revision) { source.head }
_cset :root_user, "root"
_cset :root_group, "root"
_cset :dir_perms, "0775"