Sha256: 9d782b7917c94202491e5d6f7a31de65b97200570d32994faf8f2f3976fb2d93
Contents?: true
Size: 463 Bytes
Versions: 10
Compression:
Stored size: 463 Bytes
Contents
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 #{remote_repository}/#{branch}` puts "WARNING: HEAD is not the same as #{remote_repository}/#{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
Version data entries
10 entries across 10 versions & 1 rubygems