Add pre-deploy/post-deploy place holders
This commit is contained in:
parent
93c16dfdc3
commit
cf70f57d7f
10
functions
10
functions
@ -83,3 +83,13 @@ dokku-ansible-deploy-post-extract() {
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
dokku-ansible-deploy-pre-deploy() {
|
||||
# shellcheck disable=SC2034
|
||||
declare desc="run the pre-deploy hook to setup an app"
|
||||
}
|
||||
|
||||
dokku-ansible-deploy-post-deploy() {
|
||||
# shellcheck disable=SC2034
|
||||
declare desc="run the post-deploy hook to finish an app setup"
|
||||
}
|
||||
|
8
post-deploy
Executable file
8
post-deploy
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
# shellcheck disable=SC1090
|
||||
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
||||
|
||||
dokku-ansible-deploy-post-deploy "$@"
|
8
pre-deploy
Executable file
8
pre-deploy
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
# shellcheck disable=SC1090
|
||||
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
||||
|
||||
dokku-ansible-deploy-pre-deploy "$@"
|
Reference in New Issue
Block a user