Deploy to Heroku

This commit is contained in:
dzikafoczka 2024-10-23 18:31:36 +02:00
parent 58b21ce85e
commit ef83de9752
2 changed files with 4 additions and 3 deletions

View File

@ -9,16 +9,17 @@ fi
APP_NAME=s464863-gitea APP_NAME=s464863-gitea
# Create a new Heroku app # 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 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
# Push to Heroku # Push to Heroku
heroku git:remote --app s464863-gitea
git add . git add .
git commit -m "Deploy to Heroku" git commit -m "Deploy to Heroku"
git push heroku main git push heroku master
# Open the app in the browser # Open the app in the browser
heroku open --app s464863-gitea heroku open --app s464863-gitea

View File

@ -1 +1 @@
https://s464863-gitea-c39db320a0e5.herokuapp.com/