diff --git a/predeploy.sh b/predeploy.sh index ec03a04..e32f412 100755 --- a/predeploy.sh +++ b/predeploy.sh @@ -31,21 +31,11 @@ setup_root_user() { fi } -setup_letsencrypt_certs() { - set -eu - - if [ ! -d "/home/dokku/gitea/letsencrypt" ]; then - echo "=====> Generating let's encrypt certificates" - dokku letsencrypt gitea - fi -} - main() { set -eu setup_db setup_root_user - setup_letsencrypt_certs } main