Remove deploy.sh
This commit is contained in:
parent
e549764a66
commit
063cb07777
1 changed files with 0 additions and 15 deletions
15
deploy.sh
15
deploy.sh
|
|
@ -1,15 +0,0 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue