Recommit everything because of credentials

This commit is contained in:
Maciej Małecki 2014-03-07 23:15:56 +01:00
commit 11fb50a2f1
11 changed files with 267 additions and 0 deletions

15
deploy.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
git remote | grep heroku
if [ $? -ne 0 ]; then
echo "Creating Heroku application..."
heroku apps:create
fi
if [ -n "$DATABASE_URL" ]; then
echo "Setting DATABASE_URL..."
heroku config:set DATABASE_URL="$DATABASE_URL"
fi
echo "Deploying..."
git push heroku master