capistrano-hivequeen 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,7 @@
|
|
1
1
|
Capistrano::Configuration.instance.load do
|
2
2
|
# Symlink shared config files
|
3
|
-
after "deploy:update_code", "deploy:
|
3
|
+
after "deploy:update_code", "deploy:symlink_shared_config"
|
4
4
|
namespace :deploy do
|
5
|
-
desc "[internal] Provision config files from HiveQueen"
|
6
|
-
task :provision_config => [:symlink_shared_config] do
|
7
|
-
###
|
8
|
-
|
9
|
-
end
|
10
|
-
|
11
5
|
desc "[internal] Symlink shared config files to current release"
|
12
6
|
task :symlink_shared_config do
|
13
7
|
run "ln -nfs #{shared_path}/config/* #{latest_release}/config"
|