Try release hooks

This commit is contained in:
Luke Murphy 2020-03-12 18:55:51 +01:00
parent 448ad5d1db
commit 9a06eebbc1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@ FROM gitea/gitea:1.11.2
COPY . ${WORKDIR}
RUN mkdir -p /app/
COPY postdeploy.sh /app/
COPY release.sh /app/
EXPOSE 3000

1
Procfile Normal file
View File

@ -0,0 +1 @@
release: bash /app/release.sh

View File

@ -1,6 +1,5 @@
{
"name": "gitea",
"description": "Gitea is a painless self-hosted Git service.",
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku",
"scripts": { "dokku": { "postdeploy": "bash /app/postdeploy.sh" } }
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku"
}