refactor: move domain manipulation into triggers
This allows other plugins to avoid understanding the underlying details of how domains might be integrated with.
This commit is contained in:
1 parent
5458d5b341
commit
61a306664f
22 files changed
+226
-49
No files matched your search
@@ -3,6 +3,7 @@ set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
|
||||
trigger-nginx-vhosts-post-domains-update() {
|
||||
declare desc="calls nginx build_config when domains are updated"
|
||||
declare trigger="post-domains-update"
|
||||
|
||||
Reference in new issue
Block a user