From 52d5e9ee211c5b4ee62e1f1f987b35c5d2deb03d Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 15 Mar 2020 08:31:39 +0100 Subject: [PATCH] Remove since in predeploy --- postdeploy.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/postdeploy.sh b/postdeploy.sh index ce03390..78eed12 100755 --- a/postdeploy.sh +++ b/postdeploy.sh @@ -2,13 +2,6 @@ set -eu -o pipefail -setup_db() { - set -eu - - echo "=====> Running database migration" - gitea migrate -} - setup_root_user() { set -eu @@ -29,7 +22,6 @@ main() { set -eu if [ -f "/data/gitea/conf/app.ini" ]; then - setup_db setup_root_user fi }