mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Added epp deploy
This commit is contained in:
parent
b3c0b5d824
commit
3c64c11dc2
1 changed files with 17 additions and 0 deletions
|
@ -33,6 +33,14 @@ task :st do
|
||||||
set :branch, 'master' # same as production
|
set :branch, 'master' # same as production
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# staging
|
||||||
|
task :stepp do
|
||||||
|
set :domain, 'registry-st'
|
||||||
|
set :deploy_to, '$HOME/epp'
|
||||||
|
set :repository, 'https://github.com/internetee/registry' # production repo
|
||||||
|
set :branch, 'master' # same as production
|
||||||
|
end
|
||||||
|
|
||||||
# production
|
# production
|
||||||
task :pr do
|
task :pr do
|
||||||
set :domain, 'registry'
|
set :domain, 'registry'
|
||||||
|
@ -41,6 +49,15 @@ task :pr do
|
||||||
set :branch, 'master' # same as staging
|
set :branch, 'master' # same as staging
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# production
|
||||||
|
task :prepp do
|
||||||
|
set :domain, 'registry'
|
||||||
|
set :deploy_to, '$HOME/epp'
|
||||||
|
set :repository, 'https://github.com/internetee/registry' # production repo
|
||||||
|
set :branch, 'master' # same as staging
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
# 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.
|
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||||
set :shared_paths, [
|
set :shared_paths, [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue