Attempt pre/post again

This commit is contained in:
Luke Murphy 2020-03-15 12:24:50 +01:00
parent b48e33ab82
commit 5b2b042030
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,5 +1,11 @@
{
"name": "gitea",
"description": "Gitea is a painless self-hosted Git service.",
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku"
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku",
"dokku": {
"script": {
"predeploy": "gitea migrate",
"postdeploy": "gitea admin create-user --username '$ADMIN_USER' --password '$ADMIN_PASS' --email '$ADMIN_MAIL' --admin"
}
}
}