Skip to content

Instantly share code, notes, and snippets.

@valakirka
Forked from jeffdevine/good_luck.rb
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valakirka/7e75efd170dfba31ebdb to your computer and use it in GitHub Desktop.
Save valakirka/7e75efd170dfba31ebdb to your computer and use it in GitHub Desktop.
before 'deploy', 'deploy:good_luck'
before 'deploy:migration', 'deploy:good_luck'
task :good_luck, roles: :app, except: { no_release: true } do
if Time.now.wday == 5
logger.debug('')
logger.debug('┓┏┓┏┓┃')
logger.debug('┛┗┛┗┛┃\○/')
logger.debug('┓┏┓┏┓┃ / Friday')
logger.debug('┛┗┛┗┛┃ノ)')
logger.debug('┓┏┓┏┓┃ deploy,')
logger.debug('┛┗┛┗┛┃')
logger.debug('┓┏┓┏┓┃ good')
logger.debug('┛┗┛┗┛┃')
logger.debug('┓┏┓┏┓┃ luck!')
logger.debug('┃┃┃┃┃┃')
logger.debug('┻┻┻┻┻┻')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment