Deploy to Heroku
This commit is contained in:
parent
a33441dcd6
commit
56452032fb
@ -1 +1 @@
|
||||
https://s464863-gitea-8d04ad5317e1.herokuapp.com/
|
||||
https://s464863-gitea-24624f542db7.herokuapp.com/
|
||||
|
@ -24,9 +24,9 @@ ROOT_URL=$(cat $FILE)
|
||||
# Custom configuration
|
||||
mkdir -p /var/lib/gitea/custom/conf
|
||||
|
||||
echo $ROOT_URL
|
||||
|
||||
# Add custom configuration
|
||||
printf "[server]\nROOT_URL = $ROOT_URL\n" > /var/lib/gitea/custom/conf/app.ini
|
||||
printf "[database]\nDB_TYPE = $DB_TYPE\nHOST = $HOST\nNAME = $NAME\nUSER = $USER\nPASSWD = $PASSWD\nSSL_MODE = $SSL_MODE\n" >> /var/lib/gitea/custom/conf/app.ini
|
||||
|
||||
# Start Gitea
|
||||
/usr/local/bin/gitea web -port $PORT
|
Loading…
Reference in New Issue
Block a user