From 725c9f7f441d1a1280e22a3d7483fd33e5ee7237 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 11 Dec 2014 20:44:32 +0100 Subject: Generate config files before checking that linked files is present. Hope this is the last time I have to move this around... --- lib/capistrano/tasks/configure_piwik.rake | 2 +- lib/capistrano/tasks/create_secret_token.rake | 2 +- lib/capistrano/tasks/refinery_setup.rake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/capistrano/tasks/configure_piwik.rake b/lib/capistrano/tasks/configure_piwik.rake index e69e10b..dae2e28 100644 --- a/lib/capistrano/tasks/configure_piwik.rake +++ b/lib/capistrano/tasks/configure_piwik.rake @@ -16,5 +16,5 @@ namespace :deploy do end end - before 'deploy:symlink:linked_files', 'deploy:piwik:configure' + before 'deploy:check:linked_files', 'deploy:piwik:configure' end diff --git a/lib/capistrano/tasks/create_secret_token.rake b/lib/capistrano/tasks/create_secret_token.rake index 5b048b9..e51a486 100644 --- a/lib/capistrano/tasks/create_secret_token.rake +++ b/lib/capistrano/tasks/create_secret_token.rake @@ -13,5 +13,5 @@ namespace :deploy do end end - before 'deploy', 'deploy:generate_secret_token' + before 'deploy:check:linked_files', 'deploy:generate_secret_token' end diff --git a/lib/capistrano/tasks/refinery_setup.rake b/lib/capistrano/tasks/refinery_setup.rake index d5d21bc..8192130 100644 --- a/lib/capistrano/tasks/refinery_setup.rake +++ b/lib/capistrano/tasks/refinery_setup.rake @@ -18,5 +18,5 @@ namespace :deploy do end end - before 'deploy', 'deploy:refinery:setup' + before 'deploy:check:linked_files', 'deploy:refinery:setup' end -- cgit v1.2.3