diff options
Diffstat (limited to 'config/recipes/check.rb')
| -rw-r--r-- | config/recipes/check.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config/recipes/check.rb b/config/recipes/check.rb deleted file mode 100644 index 45a6e1f..0000000 --- a/config/recipes/check.rb +++ /dev/null @@ -1,13 +0,0 @@ -namespace :check do - desc "Make sure local git is in sync with remote." - task :revision, roles: :web do - unless `git rev-parse HEAD` == `git rev-parse origin/#{branch}` - puts "WARNING: HEAD is not the same as origin/#{branch}" - puts "Run `git push` to sync changes." - exit - end - end - before "deploy", "check:revision" - before "deploy:migrations", "check:revision" - before "deploy:cold", "check:revision" -end |
