fix: trigger/when behaviour
This commit is contained in:
parent
65b8660d37
commit
140d84bea1
1 changed files with 14 additions and 12 deletions
26
.drone.yml
26
.drone.yml
|
@ -11,24 +11,18 @@ steps:
|
||||||
source: https://git.serguzim.me/emgauwa/controller/archive/master.tar.gz
|
source: https://git.serguzim.me/emgauwa/controller/archive/master.tar.gz
|
||||||
destination: emgauwa-controller.tar.gz
|
destination: emgauwa-controller.tar.gz
|
||||||
when:
|
when:
|
||||||
branch: master
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/tags/v*
|
||||||
- name: download-controller-testing
|
- name: download-controller-testing
|
||||||
image: plugins/download
|
image: plugins/download
|
||||||
settings:
|
settings:
|
||||||
source: https://git.serguzim.me/emgauwa/controller/archive/testing.tar.gz
|
source: https://git.serguzim.me/emgauwa/controller/archive/testing.tar.gz
|
||||||
destination: emgauwa-controller.tar.gz
|
destination: emgauwa-controller.tar.gz
|
||||||
when:
|
when:
|
||||||
branch: testing
|
ref:
|
||||||
- name: download-controller-dev
|
- refs/heads/testing
|
||||||
image: plugins/download
|
- refs/tags/testing-*
|
||||||
settings:
|
|
||||||
source: https://git.serguzim.me/emgauwa/controller/archive/dev.tar.gz
|
|
||||||
destination: emgauwa-controller.tar.gz
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- master
|
|
||||||
- testing
|
|
||||||
|
|
||||||
- name: build-controller
|
- name: build-controller
|
||||||
image: serguzim/emgauwa-builder
|
image: serguzim/emgauwa-builder
|
||||||
|
@ -63,3 +57,11 @@ steps:
|
||||||
- build/core.ini
|
- build/core.ini
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
ref:
|
||||||
|
include:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/heads/testing
|
||||||
|
- refs/pull/**
|
||||||
|
- refs/tags/**
|
||||||
|
|
Loading…
Reference in a new issue