summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-05-18 21:23:39 +0200
committerOliver Poignant <oliver@poignant.se>2016-05-18 21:23:39 +0200
commitb4e3c96aecc821ce089442a62a825cd2c78bb876 (patch)
treefa499a35746da45c74265d957b5af4a88571fddc
parente6a0706ecd1ad4199cd0570c340f96d1c4f2e28d (diff)
downloadGit-Auto-Deploy-b4e3c96aecc821ce089442a62a825cd2c78bb876.zip
Git-Auto-Deploy-b4e3c96aecc821ce089442a62a825cd2c78bb876.tar.gz
Git-Auto-Deploy-b4e3c96aecc821ce089442a62a825cd2c78bb876.tar.bz2
Updated docs with new config syntax
-rw-r--r--docs/Continuous Delivery via Pull requests.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/Continuous Delivery via Pull requests.md b/docs/Continuous Delivery via Pull requests.md
index 41601c4..047c76c 100644
--- a/docs/Continuous Delivery via Pull requests.md
+++ b/docs/Continuous Delivery via Pull requests.md
@@ -10,11 +10,14 @@ You can follow next steps to implement CD process:
* Configure branch in which pull request trying to merge (variable "ref" below)
Example
-```"url": "https://api.github.com/repos/olipo186/Git-Auto-Deploy",
+```json
+"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"
-}]
+ "pull_request": true,
+ "pull_request.base.ref": "testing-branch"
+}
+]
+```