1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #730 from kirs/no-restart-task-hardcoded

Don't hardcode :restart task in deploy cycle
This commit is contained in:
Tom Clements 2013-10-27 10:05:30 -07:00
commit 3ace303dd9
3 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@ en = {
start: 'Start',
update: 'Update',
finalize: 'Finalise',
restart: 'Restart',
finishing: 'Finishing',
finished: 'Finished',
stage_not_set: 'Stage not set, please call something such as `cap production deploy`, where production is a stage you have defined.',

View file

@ -15,7 +15,6 @@ namespace :deploy do
task :publishing do
invoke 'deploy:symlink:release'
invoke 'deploy:restart'
end
task :finishing do

View file

@ -17,6 +17,7 @@ set :repo_url, 'git@example.com:me/my_repo.git'
# set :keep_releases, 5
namespace :deploy do
after :publishing, :restart
desc 'Restart application'
task :restart do