diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e31dcb4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +heroku-app.txt \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index abf4add..afc2b5a 100644 --- a/deploy.sh +++ b/deploy.sh @@ -5,9 +5,12 @@ if [ ! -d ".git" ]; then git init fi +# App name +APP_NAME=s464863-gitea + # Create a new Heroku app -appName = $(heroku create --stack heroku-24 --region eu --json | jq -r '.name') -echo $appName > heroku-app.txt +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