deployments 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,24 @@
1
1
  # Capistrano Recipes for managing delayed_job
2
2
 
3
3
  Capistrano::Configuration.instance.load do
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}
9
+ CMD
10
+
11
+ logger.info "Deployments push completed."
12
+ end
13
+
4
14
  after 'deploy' do
15
+ logger.info "Run rake deployments:push app_env=#{rails_env} on deploy"
16
+
5
17
  sh <<-CMD
6
18
  rake deployments:push app_env=#{rails_env}
7
19
  CMD
20
+
21
+ logger.info "Deployments push completed."
8
22
  end
9
23
  end
10
24
 
@@ -1,3 +1,3 @@
1
1
  module Deployments
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: