summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md20
-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)bin48686 -> 48686 bytes
3 files changed, 11 insertions, 9 deletions
diff --git a/README.md b/README.md
index f5566f4..e3f6660 100644
--- a/README.md
+++ b/README.md
@@ -80,20 +80,22 @@ The easiest way to configure your system to automatically start ```GitAutoDeploy
## Continious Delivery via Pull request
-![Workflow](./continious_delivery_process.png)
+![Workflow](./docs/continious_delivery_process.png)
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
index 2dc01b4..2dc01b4 100644
--- a/continious_delivery_process.png
+++ b/docs/continious_delivery_process.png
Binary files differ