From 796611be59a0e14f22a76941f3e636d92d57033d Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 10 Mar 2020 11:45:57 +0100 Subject: [PATCH] Add post deploy task --- app.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.json b/app.json index 77b67c1..9c2e98c 100644 --- a/app.json +++ b/app.json @@ -5,5 +5,10 @@ "success_url": "/", "dokku": { "plugins": [] + }, + "scripts": { + "dokku": { + "postdeploy": "gitea migrate && gitea admin create-user --name autonomic --password autonomic --email foobar@autonomic.zone" + } } }