Merge pull request #2195 from dokku/2179-clarify-triggers
Clarify when certain plugin triggers are invoked.
This commit is contained in:
commit
9b60f0c3c6
1 file changed
+2
-2
@@ -369,7 +369,7 @@ dokku postgres:destroy $APP
|
|||||||
|
|
||||||
### `post-deploy`
|
### `post-deploy`
|
||||||
|
|
||||||
- Description: Allows running of commands after a deploy has completed. Dokku core currently uses this to switch traffic on nginx.
|
- Description: Allows running of commands after an application's processes have been scaled up, but before old containers are torn down. Dokku core currently uses this to switch traffic on nginx.
|
||||||
- Invoked by: `dokku deploy`
|
- Invoked by: `dokku deploy`
|
||||||
- Arguments: `$APP $INTERNAL_PORT $INTERNAL_IP_ADDRESS $IMAGE_TAG`
|
- Arguments: `$APP $INTERNAL_PORT $INTERNAL_IP_ADDRESS $IMAGE_TAG`
|
||||||
- Example:
|
- Example:
|
||||||
@@ -517,7 +517,7 @@ fi
|
|||||||
|
|
||||||
### `pre-deploy`
|
### `pre-deploy`
|
||||||
|
|
||||||
- Description: Allows the running of code before the container's process is started.
|
- Description: Allows the running of code before the application's processes are scaled up and after the docker images are prepared.
|
||||||
- Invoked by: `dokku deploy`
|
- Invoked by: `dokku deploy`
|
||||||
- Arguments: `$APP $IMAGE_TAG`
|
- Arguments: `$APP $IMAGE_TAG`
|
||||||
- Example:
|
- Example:
|
||||||
|
|||||||
Reference in new issue
Block a user