mirror of
https://github.com/harness/drone.git
synced 2025-05-08 14:40:28 +08:00
Publish section example for tag pushes
Adds an example for execution limiting publishes to situations where tags are pushed.
This commit is contained in:
parent
64908ed241
commit
c7712bd3ac
6
docs/build/publish.md
vendored
6
docs/build/publish.md
vendored
@ -30,4 +30,10 @@ publish:
|
|||||||
bintray:
|
bintray:
|
||||||
when:
|
when:
|
||||||
branch: feature/*
|
branch: feature/*
|
||||||
|
|
||||||
|
# or only publish when a tag is pushed
|
||||||
|
|
||||||
|
docker:
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user