Deploy to Heroku
This commit is contained in:
parent
e221729d95
commit
535aceac12
@ -1 +1 @@
|
|||||||
https://s464951-gitea-fa34820a73f7.herokuapp.com/
|
https://s464951-gitea-a380da1505b2.herokuapp.com/
|
||||||
|
2
run.sh
2
run.sh
@ -5,6 +5,8 @@ FILE=./app_url.txt
|
|||||||
ROOT_URL=$(cat $FILE)
|
ROOT_URL=$(cat $FILE)
|
||||||
|
|
||||||
printf($ROOT_URL)
|
printf($ROOT_URL)
|
||||||
|
printf($DATABSE_URL)
|
||||||
|
|
||||||
HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-`
|
HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-`
|
||||||
NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
|
NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
|
||||||
USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`
|
USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`
|
||||||
|
Loading…
Reference in New Issue
Block a user