chore(CI): always run CI, but only deploy on main.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5b7bca979e
commit
8eebb10dfc
1 changed files with 4 additions and 9 deletions
13
.drone.yml
13
.drone.yml
|
@ -1,14 +1,6 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
|
@ -80,6 +72,9 @@ steps:
|
|||
|
||||
- name: publish
|
||||
image: minio/mc
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
environment:
|
||||
S3_ENDPOINT:
|
||||
from_secret: S3_ENDPOINT
|
||||
|
|
Loading…
Reference in a new issue