From e30c01c2347fd254df0fafb29ea04c24f682a170 Mon Sep 17 00:00:00 2001 From: Phan Chuong Date: Thu, 12 May 2016 20:53:51 -0700 Subject: [PATCH] Update plugin-triggers.md add missing trigger --- docs/development/plugin-triggers.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index f03a531f8..55a2079e0 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -29,6 +29,21 @@ The following plugin triggers describe those available to a dokku installation. > The example plugin trigger code is not guaranteed to be implemented as in within dokkku, and are merely simplified examples. Please look at the dokku source for larger, more in-depth examples. +### `post-config-update` + +- Description: Allows you to get notified when one or more configs is added or removed. Action can be *set* or *unset* +- Invoked by: `dokku config:set`, `dokku config:unset` +- Arguments: `$APP` `action name` `configs` +- Example: + +```shell +#!/usr/bin/env bash + +set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x + +# TODO +``` + ### `bind-external-ip` - Description: Allows you to disable binding to the external box ip