From e197aa62d1d8728be191cc659ac8f5c0b7d67f44 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 3 Apr 2022 13:11:52 -0400 Subject: [PATCH] fix: use correct env var for app name when setting initial DOKKU_DEPLOY_BRANCH propery --- plugins/git/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/functions b/plugins/git/functions index 5d4a62549..bfd69c7c9 100755 --- a/plugins/git/functions +++ b/plugins/git/functions @@ -101,7 +101,7 @@ cmd-git-hook() { plugn trigger deploy-source-set "$APP" "git-push" "$newrev" elif [[ -z "$(fn-git-deploy-branch "$APP" "")" ]]; then echo $'\e[1G\e[K'"-----> Set ${refname/refs\/heads\//} to DOKKU_DEPLOY_BRANCH." - fn-plugin-property-write "git" "$app" "deploy-branch" "${refname/refs\/heads\//}" + fn-plugin-property-write "git" "$APP" "deploy-branch" "${refname/refs\/heads\//}" git_receive_app "$APP" "$newrev" plugn trigger deploy-source-set "$APP" "git-push" "$newrev" else