removed more crap
This commit is contained in:
@@ -33,11 +33,6 @@ namespace :deploy do
|
|||||||
end
|
end
|
||||||
after "deploy:setup", "deploy:setup_config"
|
after "deploy:setup", "deploy:setup_config"
|
||||||
|
|
||||||
task :symlink_config, roles: :app do
|
|
||||||
run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
|
|
||||||
end
|
|
||||||
after "deploy:finalize_update", "deploy:symlink_config"
|
|
||||||
|
|
||||||
desc "Make sure local git is in sync with remote."
|
desc "Make sure local git is in sync with remote."
|
||||||
task :check_revision, roles: :web do
|
task :check_revision, roles: :web do
|
||||||
unless `git rev-parse HEAD` == `git rev-parse origin/master`
|
unless `git rev-parse HEAD` == `git rev-parse origin/master`
|
||||||
|
|||||||
Reference in New Issue
Block a user