Remove LE stuff from predeploy

This commit is contained in:
Luke Murphy 2020-03-15 09:12:52 +01:00
parent 3cb8ce2183
commit 444b37a61d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -31,21 +31,11 @@ setup_root_user() {
fi fi
} }
setup_letsencrypt_certs() {
set -eu
if [ ! -d "/home/dokku/gitea/letsencrypt" ]; then
echo "=====> Generating let's encrypt certificates"
dokku letsencrypt gitea
fi
}
main() { main() {
set -eu set -eu
setup_db setup_db
setup_root_user setup_root_user
setup_letsencrypt_certs
} }
main main