Created
October 30, 2014 17:59
-
-
Save mlocher/d6698e00668da7eed657 to your computer and use it in GitHub Desktop.
Push a Mercurial repository to Heroku
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
pip install hg-git | |
echo "[extensions]" >> ~/.hgrc | |
echo "hgext.bookmarks =" >> ~/.hgrc | |
echo "hggit =" >> ~/.hgrc | |
echo "[alias]" >> ~/.hgrc | |
echo "push-heroku = push git+ssh://[email protected]/app.git" >> ~/.hgrc | |
PYTHONPATH=$(dirname $(which python))/../lib/python2.7/site-packages/ | |
hg push-heroku | |
check_url "http://app.herokuapp.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Big thanks to @weargoggles for sharing the code!