diff options
-rw-r--r-- | README.md | 20 | ||||
-rw-r--r-- | docs/continious_delivery_process.gliffy (renamed from continious_delivery_process.gliffy) | 0 | ||||
-rw-r--r-- | docs/continious_delivery_process.png (renamed from continious_delivery_process.png) | bin | 48686 -> 48686 bytes |
3 files changed, 11 insertions, 9 deletions
@@ -80,20 +80,22 @@ The easiest way to configure your system to automatically start ```GitAutoDeploy ## Continious Delivery via Pull request - + If you use continious delivery (such as this workflow) you may want to trigger deploy event when pull request is opened or closed. You can follow next steps to implement CD process: * Set repo "url" to ```"https://api.github.com"``` -* Enable "pullrequestfilter" +* Add filter type "pull-request-filter" as described below * Configure "action" that you want to listen -* Configure branch in which pull request trying to merge (called "ref" in configure) +* Configure branch in which pull request trying to merge (variable "ref" below) Example -``` -"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy", -"pullrequestfilter": true, -"action": "closed", -"ref": "testing", -"deploy": "echo deploying after pull request" +```"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy", +"deploy": "echo deploying after pull request", +"filters": [ +{ + "type": "pull-request-filter", + "action": "closed", + "ref": "testing-branch" +}] ```
\ No newline at end of file diff --git a/continious_delivery_process.gliffy b/docs/continious_delivery_process.gliffy index 13e1fca..13e1fca 100644 --- a/continious_delivery_process.gliffy +++ b/docs/continious_delivery_process.gliffy diff --git a/continious_delivery_process.png b/docs/continious_delivery_process.png Binary files differindex 2dc01b4..2dc01b4 100644 --- a/continious_delivery_process.png +++ b/docs/continious_delivery_process.png |