mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
mina shortcuts => mina deploy; mina re deploy; mina ee deploy;
This commit is contained in:
parent
26f5eda636
commit
add1c25b64
1 changed files with 15 additions and 5 deletions
|
@ -11,18 +11,28 @@ require 'mina/git'
|
|||
# branch - Branch name to deploy. (needed by mina/git)
|
||||
|
||||
set :domain, 'testregistry'
|
||||
set :deploy_to, '/home/app/eedirekt'
|
||||
set :deploy_to, '/home/app/registry'
|
||||
set :repository, 'https://github.com/internetee/registry'
|
||||
set :branch, 'master'
|
||||
|
||||
task :admin do
|
||||
set :deploy_to, '/home/app/registry'
|
||||
end
|
||||
|
||||
task :registrar do
|
||||
set :deploy_to, '/home/app/registrar'
|
||||
end
|
||||
|
||||
# shortcut for registrar
|
||||
task :re do
|
||||
set :deploy_to, '/home/app/registrar'
|
||||
end
|
||||
|
||||
task :eedirekt do
|
||||
set :deploy_to, '/home/app/eedirekt'
|
||||
end
|
||||
|
||||
# shortcut for eedirekt
|
||||
task :ee do
|
||||
set :deploy_to, '/home/app/eedirekt'
|
||||
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