diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-05-18 21:23:39 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-05-18 21:23:39 +0200 |
commit | b4e3c96aecc821ce089442a62a825cd2c78bb876 (patch) | |
tree | fa499a35746da45c74265d957b5af4a88571fddc | |
parent | e6a0706ecd1ad4199cd0570c340f96d1c4f2e28d (diff) | |
download | Git-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.md | 11 |
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" +} +] +``` |