deployments 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,23 +2,15 @@
2
2
 
3
3
  Capistrano::Configuration.instance.load do
4
4
  after 'deploy:migrations' do
5
- logger.info "Run rake deployments:push app_env=#{rails_env} on deploy:migrations"
6
-
7
- sh <<-CMD
8
- rake deployments:push app_env=#{rails_env}
5
+ run <<-CMD
6
+ cd #{current_path} && rake deployments:push app_env=#{rails_env}
9
7
  CMD
10
-
11
- logger.info "Deployments push completed."
12
8
  end
13
9
 
14
10
  after 'deploy' do
15
- logger.info "Run rake deployments:push app_env=#{rails_env} on deploy"
16
-
17
- sh <<-CMD
18
- rake deployments:push app_env=#{rails_env}
11
+ run <<-CMD
12
+ cd #{current_path} && rake deployments:push app_env=#{rails_env}
19
13
  CMD
20
-
21
- logger.info "Deployments push completed."
22
14
  end
23
15
  end
24
16
 
@@ -1,3 +1,3 @@
1
1
  module Deployments
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: