Deploy to Heroku
This commit is contained in:
parent
bce39cf4cc
commit
58b21ce85e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
heroku-app.txt
|
@ -5,9 +5,12 @@ if [ ! -d ".git" ]; then
|
|||||||
git init
|
git init
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# App name
|
||||||
|
APP_NAME=s464863-gitea
|
||||||
|
|
||||||
# Create a new Heroku app
|
# Create a new Heroku app
|
||||||
appName = $(heroku create --stack heroku-24 --region eu --json | jq -r '.name')
|
WEB_URL = $(heroku create --stack heroku-24 --region eu $APP_NAME --json | jq -r '.web_url')
|
||||||
echo $appName > heroku-app.txt
|
echo $WEB_URL > heroku-app.txt
|
||||||
|
|
||||||
# Add Heroku Postgres add-on
|
# Add Heroku Postgres add-on
|
||||||
heroku addons:create heroku-postgresql:essential-0 --app s464863-gitea
|
heroku addons:create heroku-postgresql:essential-0 --app s464863-gitea
|
||||||
|
Loading…
Reference in New Issue
Block a user