Deploy to Heroku

This commit is contained in:
asmigiel 2025-01-07 22:17:41 +01:00
parent e221729d95
commit 535aceac12
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
https://s464951-gitea-fa34820a73f7.herokuapp.com/
https://s464951-gitea-a380da1505b2.herokuapp.com/

2
run.sh
View File

@ -5,6 +5,8 @@ FILE=./app_url.txt
ROOT_URL=$(cat $FILE)
printf($ROOT_URL)
printf($DATABSE_URL)
HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-`
NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`