Deploy to Heroku
This commit is contained in:
parent
7d8b7b6005
commit
9c56cc6f29
@ -2,8 +2,10 @@ FROM gitea/gitea:1.14.5
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY app_url.txt ./
|
||||||
COPY run.sh ./
|
COPY run.sh ./
|
||||||
|
|
||||||
|
USER root
|
||||||
RUN chmod +x ./run.sh
|
RUN chmod +x ./run.sh
|
||||||
|
|
||||||
ENTRYPOINT ["./run.sh"]
|
ENTRYPOINT ["./run.sh"]
|
||||||
|
@ -1 +1 @@
|
|||||||
https://s464951-gitea-530091612f47.herokuapp.com/
|
https://s464951-gitea-fa34820a73f7.herokuapp.com/
|
||||||
|
@ -13,8 +13,9 @@ heroku addons:create heroku-postgresql:essential-0 --app $APP_NAME
|
|||||||
echo "Waiting for Heroku Postgres to be fully provisioned..."
|
echo "Waiting for Heroku Postgres to be fully provisioned..."
|
||||||
heroku pg:wait --app $APP_NAME
|
heroku pg:wait --app $APP_NAME
|
||||||
|
|
||||||
echo DATABASE_URL
|
echo DB_URL
|
||||||
echo $DATABASE_URL
|
heroku config:get DATABASE_URL -a $APP_NAME
|
||||||
|
|
||||||
|
|
||||||
# Push to Heroku
|
# Push to Heroku
|
||||||
heroku git:remote --app $APP_NAME
|
heroku git:remote --app $APP_NAME
|
||||||
@ -23,4 +24,4 @@ git commit -m "Deploy to Heroku"
|
|||||||
git push heroku main
|
git push heroku main
|
||||||
|
|
||||||
# Open the app in the browser
|
# Open the app in the browser
|
||||||
# heroku open --app $APP_NAME
|
heroku open --app $APP_NAME
|
Loading…
Reference in New Issue
Block a user