diff options
author | jomo <github@jomo.tv> | 2015-03-23 01:00:06 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-03-23 01:00:06 +0100 |
commit | 408956271dbe054b8d953fafaf5cf69e99790baa (patch) | |
tree | 4cb7c3757000f8027db7cee8e4648d5127cedb09 /config | |
parent | 2237a5f510e57d027739eca844b06da38791562b (diff) |
more capistrano changes
Diffstat (limited to 'config')
-rw-r--r-- | config/deploy.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 28d9457..c98443b 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -19,15 +19,5 @@ set :bundle_without, %w{development test}.join(' ') set :linked_dirs, fetch(:linked_dirs, []).push('bin', 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system') namespace :deploy do - desc "Make sure local git is in sync with remote." - task :check_revision, roles: :web do - unless `git rev-parse HEAD` == `git rev-parse origin/master` - puts "WARNING: HEAD is not the same as origin/master" - puts "Run `git push` to sync changes." - exit - end - end - before "deploy", "deploy:check_revision" - after :publishing, :restart end
\ No newline at end of file |