Created
March 3, 2014 11:06
-
-
Save johnbeynon/9322859 to your computer and use it in GitHub Desktop.
before_deploy.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
echo "Running post Heroku deployment script" | |
echo "Installing Heroku toolbelt" | |
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh | |
# You need to bundle if you want to be able to enabled maintenance mode. | |
# bundle | |
# gem install heroku_san # Need to ensure heroku_san is available | |
# Enable maintenance mode if required | |
# bundle exec rake staging heroku:maintenance |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment