diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-12-31 17:18:41 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-12-31 17:18:41 +0100 |
commit | 0ce1d3ed2b7e7a2c57e98177eb35525beed46981 (patch) | |
tree | 47d3cf939190f7038612e6c1c21417ec175c88fa /lib/capistrano/tasks | |
parent | c1bf3b1e9584d7070f2aa5ab143d02d7f88e80b4 (diff) | |
download | hmnoweb-0ce1d3ed2b7e7a2c57e98177eb35525beed46981.tar.gz hmnoweb-0ce1d3ed2b7e7a2c57e98177eb35525beed46981.tar.bz2 hmnoweb-0ce1d3ed2b7e7a2c57e98177eb35525beed46981.zip |
Use stage name to configure piwik.
Diffstat (limited to 'lib/capistrano/tasks')
-rw-r--r-- | lib/capistrano/tasks/configure_piwik.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/capistrano/tasks/configure_piwik.rake b/lib/capistrano/tasks/configure_piwik.rake index 99c42bb..d503cb0 100644 --- a/lib/capistrano/tasks/configure_piwik.rake +++ b/lib/capistrano/tasks/configure_piwik.rake @@ -7,7 +7,7 @@ namespace :deploy do on roles(:app) do unless test "[ -f #{output_file} ]" conf = { - fetch(:rails_env) => { + fetch(:stage) => { 'piwik' => { 'id_site' => fetch(:piwik_site_id), 'url' => fetch(:piwik_url), |