From e42e7c3694dc5985ab07a781a19f09bc4fc88d38 Mon Sep 17 00:00:00 2001 From: Jody McIntyre Date: Mon, 3 Apr 2017 14:53:47 -0400 Subject: [PATCH] Add documentation note re: git-pre-pull vs. auth --- docs/development/plugin-triggers.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index fac754c17..534fd8217 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -321,6 +321,10 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x # TODO ``` +> WARNING: The `git-pre-pull` trigger should _not_ be used for authentication +since it does not get called for commands that use `git-upload-archive` such +as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger. + ### `install` - Description: Used to setup any files/configuration for a plugin.