refactor: deprecate git_deploy_branch in favor of plugn trigger

This commit is contained in:
Jose Diaz-Gonzalez
2020-04-18 18:21:46 -04:00
parent 74e147005b
commit a8a6d0595b
5 changed files with 56 additions and 13 deletions

14
plugins/git/git-deploy-branch Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$PLUGIN_AVAILABLE_PATH/git/internal-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-git-git-deploy-branch() {
declare desc="git deploy-branch plugin trigger"
declare trigger="git-deploy-branch"
declare APP="$1"
fn-git-deploy-branch "$APP"
}
trigger-git-git-deploy-branch "$@"