update docs

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-09-04 14:40:20 +08:00
parent e331f975ad
commit 05ebe5b663

View File

@ -75,7 +75,7 @@ pipeline:
+ proxy_password: 1234 + proxy_password: 1234
``` ```
Example configuration for success build: Example configuration for `master` branch:
```diff ```diff
pipeline: pipeline:
@ -89,10 +89,10 @@ pipeline:
- echo hello - echo hello
- echo world - echo world
+ when: + when:
+ status: success + branch: master
``` ```
Example configuration for tag event: Example configuration for `tag` event:
```diff ```diff
pipeline: pipeline:
@ -106,7 +106,6 @@ pipeline:
- echo hello - echo hello
- echo world - echo world
+ when: + when:
+ status: success
+ event: tag + event: tag
``` ```