From 535aceac127ac2191531ae15d8fed83a6d86e3d7 Mon Sep 17 00:00:00 2001 From: asmigiel Date: Tue, 7 Jan 2025 22:17:41 +0100 Subject: [PATCH] Deploy to Heroku --- app_url.txt | 2 +- run.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app_url.txt b/app_url.txt index b1cab7c..442aa24 100644 --- a/app_url.txt +++ b/app_url.txt @@ -1 +1 @@ -https://s464951-gitea-fa34820a73f7.herokuapp.com/ +https://s464951-gitea-a380da1505b2.herokuapp.com/ diff --git a/run.sh b/run.sh index 9b0fe5d..1c3a33e 100644 --- a/run.sh +++ b/run.sh @@ -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:]]*"`