From e30c01c2347fd254df0fafb29ea04c24f682a170 Mon Sep 17 00:00:00 2001 From: Phan Chuong Date: Thu, 12 May 2016 20:53:51 -0700 Subject: [PATCH 1/2] 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 From 989ea724902fdaf53d34c40a7d8ffae9e0652174 Mon Sep 17 00:00:00 2001 From: Phan Chuong Date: Fri, 13 May 2016 09:05:11 -0700 Subject: [PATCH 2/2] Update plugin-triggers.md --- docs/development/plugin-triggers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index 55a2079e0..5ce9e63f1 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -33,7 +33,7 @@ The following plugin triggers describe those available to a dokku installation. - 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` +- Arguments: `$APP` `set|unset` `key1=VALUE1 key2=VALUE2` - Example: ```shell