summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
+}
+]
+```