capistrano-buildpack 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,9 @@ require 'digest/sha1'
|
|
2
2
|
|
3
3
|
if Capistrano::Configuration.instance
|
4
4
|
Capistrano::Configuration.instance.load do
|
5
|
+
|
6
|
+
set :deploy_to, "/apps/#{application}"
|
7
|
+
|
5
8
|
after "deploy:setup" do
|
6
9
|
sudo "chown -R #{user} #{deploy_to}"
|
7
10
|
sudo "gem install --upgrade foreman-export-nginx"
|
@@ -11,7 +14,6 @@ if Capistrano::Configuration.instance
|
|
11
14
|
default_run_options[:pty] = true
|
12
15
|
default_run_options[:shell] = '/bin/bash'
|
13
16
|
|
14
|
-
set :deploy_to, "/apps/#{application}"
|
15
17
|
set :foreman_export_path, "/etc/init"
|
16
18
|
set :foreman_export_type, "upstart"
|
17
19
|
set :nginx_export_path, "/etc/nginx/conf.d"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-buildpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Deploy 12-factor applications using Capistrano
|
15
15
|
email:
|