mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-02-17 09:48:50 +08:00
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user