From 63616796cb96e8236605b18d6bb8e34b448d84ad Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 3 Mar 2018 17:58:04 -0500 Subject: [PATCH] docs: add missing docs for plugin triggers --- docs/development/plugin-triggers.md | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index cbe6cb59a..6bcc83697 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -478,6 +478,36 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x nginx -t ``` +### `post-app-clone` + +- Description: Allows you to run commands after an application was cloned. +- Invoked by: `dokku apps:clone` +- Arguments: `$OLD_APP_NAME $NEW_APP_NAME` +- Example: + +```shell +#!/usr/bin/env bash + +set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x + +# TODO +``` + +### `post-app-rename` + +- Description: Allows you to run commands after an application was renamed. +- Invoked by: `dokku apps:rename` +- Arguments: `$OLD_APP_NAME $NEW_APP_NAME` +- Example: + +```shell +#!/usr/bin/env bash + +set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x + +# TODO +``` + ### `post-build-buildpack` - Description: Allows you to run commands after the build image is create for a given app. Only applies to applications using buildpacks.