Remove LE stuff from predeploy
This commit is contained in:
parent
3cb8ce2183
commit
444b37a61d
10
predeploy.sh
10
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
|
||||
|
Reference in New Issue
Block a user