feat: fix: use correct branch for ref updating

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-17 17:00:33 -05:00
1 parent f73c927512
commit 97b33a9138
1 file changed
+1 -1
+1 -1
View File
@@ -258,7 +258,7 @@ fn-git-fetch() {
git fetch remote "$DOKKU_DEPLOY_BRANCH" git fetch remote "$DOKKU_DEPLOY_BRANCH"
else else
git fetch remote git fetch remote
git update-ref refs/heads/master "$GIT_REF" git update-ref "refs/heads/$DOKKU_DEPLOY_BRANCH" "$GIT_REF"
fi fi
popd > /dev/null popd > /dev/null
} }