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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: deploy
|
name: build
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
include:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
|
@ -80,6 +72,9 @@ steps:
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
environment:
|
environment:
|
||||||
S3_ENDPOINT:
|
S3_ENDPOINT:
|
||||||
from_secret: S3_ENDPOINT
|
from_secret: S3_ENDPOINT
|
||||||
|
|
Loading…
Reference in a new issue