summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-03-05 02:02:31 +0100
committerOliver Poignant <oliver@poignant.se>2016-03-05 02:02:31 +0100
commitfd16c583425112d8d3be350fe40de5cae17f35c6 (patch)
tree9e62011b347e8b26206282de02d848e8bfce9094
parent1331a34fb18270fbcfada8655d21d0a6a666e021 (diff)
downloadGit-Auto-Deploy-fd16c583425112d8d3be350fe40de5cae17f35c6.zip
Git-Auto-Deploy-fd16c583425112d8d3be350fe40de5cae17f35c6.tar.gz
Git-Auto-Deploy-fd16c583425112d8d3be350fe40de5cae17f35c6.tar.bz2
Updated documentation
-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