require full github opts

This commit is contained in:
Noah Zoschke
2011-05-18 09:06:18 -07:00
parent 70b532f546
commit 3e55317ff0
+2 -2
View File
@@ -1,12 +1,12 @@
#!/bin/bash
[[ $GIT_PASSWORD = "" ]] && { echo "usage: GIT_PASSWORD=xxx ./push.sh"; exit 1; }
[[ $GITHUB_AUTH = "" ]] && { echo "usage: GITHUB_AUTH=user:pass ./push.sh"; exit 1; }
heroku destroy --app canary-django --confirm canary-django
rm -rf .git
git init .
git add . && git commit -m 'Django skeleton'
heroku create canary-django --stack cedar
heroku config:add LANGUAGE_PACK_URL=https://nzoschke:${GIT_PASSWORD}@github.com/heroku/language-pack-python.git --app canary-django
heroku config:add LANGUAGE_PACK_URL=https://${GITHUB_AUTH}@github.com/heroku/language-pack-python.git --app canary-django
git push heroku master
rm -rf .git