diff options
-rw-r--r-- | README.md | 26 | ||||
-rw-r--r-- | docs/Continuous Delivery via Pull requests.md | 20 | ||||
-rw-r--r-- | docs/graphics/continuous_delivery_process.gliffy (renamed from docs/continious_delivery_process.gliffy) | 0 | ||||
-rw-r--r-- | docs/graphics/continuous_delivery_process.png (renamed from docs/continious_delivery_process.png) | bin | 48686 -> 48686 bytes |
4 files changed, 25 insertions, 21 deletions
@@ -78,24 +78,8 @@ The easiest way to configure your system to automatically start ```GitAutoDeploy * In "URL", enter your hostname and port (your-host:8001) * Hit "Save" -## 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"``` -* 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 (variable "ref" below) - -Example -```"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 +# Example workflows + +## Continuous Delivery via Pull requests (GitHub only) + +It's possible to configure Git-Auto-Deploy to trigger when pull requests are opened or closed on GitHub. To read more about this workflow and how to configure Git-Aut-Deploy here: [Continuous Delivery via Pull requests](./docs/Continuous Delivery via Pull requests.md) diff --git a/docs/Continuous Delivery via Pull requests.md b/docs/Continuous Delivery via Pull requests.md new file mode 100644 index 0000000..41601c4 --- /dev/null +++ b/docs/Continuous Delivery via Pull requests.md @@ -0,0 +1,20 @@ +# Continuous Delivery via Pull requests (GitHub only) + + + +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"``` +* 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 (variable "ref" below) + +Example +```"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" +}] diff --git a/docs/continious_delivery_process.gliffy b/docs/graphics/continuous_delivery_process.gliffy index 13e1fca..13e1fca 100644 --- a/docs/continious_delivery_process.gliffy +++ b/docs/graphics/continuous_delivery_process.gliffy diff --git a/docs/continious_delivery_process.png b/docs/graphics/continuous_delivery_process.png Binary files differindex 2dc01b4..2dc01b4 100644 --- a/docs/continious_delivery_process.png +++ b/docs/graphics/continuous_delivery_process.png |