mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Added registrant deploy
This commit is contained in:
parent
ec62f9ccb4
commit
14675f5bb7
2 changed files with 29 additions and 1 deletions
|
@ -35,6 +35,15 @@ task :registrar do
|
|||
set :rails_env, 'alpha'
|
||||
end
|
||||
|
||||
# alpha branch, only use for heavy debugging
|
||||
task :registrant do
|
||||
set :domain, 'registry-st'
|
||||
set :deploy_to, '$HOME/registrant'
|
||||
set :repository, 'https://github.com/domify/registry' # dev repo
|
||||
set :branch, 'master'
|
||||
set :rails_env, 'alpha'
|
||||
end
|
||||
|
||||
# staging
|
||||
task :st do
|
||||
set :domain, 'registry-st'
|
||||
|
@ -62,6 +71,15 @@ task :registrarst do
|
|||
set :rails_env, 'staging'
|
||||
end
|
||||
|
||||
# staging
|
||||
task :registrantst do
|
||||
set :domain, 'registrant-st'
|
||||
set :deploy_to, '$HOME/registrant'
|
||||
set :repository, 'https://github.com/internetee/registry' # production repo
|
||||
set :branch, 'master'
|
||||
set :rails_env, 'staging'
|
||||
end
|
||||
|
||||
# production
|
||||
task :pr do
|
||||
set :domain, 'registry'
|
||||
|
@ -89,6 +107,15 @@ task :registrarpr do
|
|||
set :rails_env, 'production'
|
||||
end
|
||||
|
||||
# production
|
||||
task :registrantpr do
|
||||
set :domain, 'registrant'
|
||||
set :deploy_to, '$HOME/registrant'
|
||||
set :repository, 'https://github.com/internetee/registry' # production repo
|
||||
set :branch, 'master'
|
||||
set :rails_env, 'production'
|
||||
end
|
||||
|
||||
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
||||
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||
set :shared_paths, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue