ci: fix step condition, only run publish on push
event to main branch https://docs.drone.io/pipeline/docker/syntax/conditions/#by-event
This commit is contained in:
parent
6b6214a85d
commit
389ede230f
|
@ -5,7 +5,7 @@ name: default
|
|||
steps:
|
||||
- name: build
|
||||
when:
|
||||
events:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
image: denoland/deno:alpine-1.29.4
|
||||
|
@ -14,7 +14,7 @@ steps:
|
|||
|
||||
- name: publish
|
||||
when:
|
||||
events:
|
||||
event:
|
||||
- push
|
||||
branch:
|
||||
- main
|
||||
|
|
Loading…
Reference in a new issue