mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Added correct REGISTRY_ENV as eedirekt
This commit is contained in:
parent
ec776f9d06
commit
6113401eb0
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class Ability
|
||||||
|
|
||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
case REGISTRY_ENV
|
case REGISTRY_ENV
|
||||||
when :eedirect
|
when :eedirekt
|
||||||
can :create, :session
|
can :create, :session
|
||||||
admin = false
|
admin = false
|
||||||
when :admin
|
when :admin
|
||||||
|
|
|
@ -11,7 +11,7 @@ require 'mina/git'
|
||||||
# branch - Branch name to deploy. (needed by mina/git)
|
# branch - Branch name to deploy. (needed by mina/git)
|
||||||
|
|
||||||
set :domain, 'testregistry'
|
set :domain, 'testregistry'
|
||||||
set :deploy_to, '/home/app/eedirect'
|
set :deploy_to, '/home/app/eedirekt'
|
||||||
set :repository, 'https://github.com/internetee/registry'
|
set :repository, 'https://github.com/internetee/registry'
|
||||||
set :branch, 'master'
|
set :branch, 'master'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue