Deploy to Heroku
This commit is contained in:
parent
58b21ce85e
commit
ef83de9752
@ -9,16 +9,17 @@ fi
|
||||
APP_NAME=s464863-gitea
|
||||
|
||||
# Create a new Heroku app
|
||||
WEB_URL = $(heroku create --stack heroku-24 --region eu $APP_NAME --json | jq -r '.web_url')
|
||||
WEB_URL=$(heroku create --stack heroku-24 --region eu $APP_NAME --json | jq -r '.web_url')
|
||||
echo $WEB_URL > heroku-app.txt
|
||||
|
||||
# Add Heroku Postgres add-on
|
||||
heroku addons:create heroku-postgresql:essential-0 --app s464863-gitea
|
||||
|
||||
# Push to Heroku
|
||||
heroku git:remote --app s464863-gitea
|
||||
git add .
|
||||
git commit -m "Deploy to Heroku"
|
||||
git push heroku main
|
||||
git push heroku master
|
||||
|
||||
# Open the app in the browser
|
||||
heroku open --app s464863-gitea
|
@ -1 +1 @@
|
||||
|
||||
https://s464863-gitea-c39db320a0e5.herokuapp.com/
|
||||
|
Loading…
Reference in New Issue
Block a user