mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
update docs
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
e331f975ad
commit
05ebe5b663
7
DOCS.md
7
DOCS.md
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user