Fix trigger for pushing release artifacts to drone
This commit is contained in:
parent
618353bf95
commit
b94950d7c2
1 changed files with 10 additions and 14 deletions
24
.drone1.yml
24
.drone1.yml
|
@ -419,8 +419,9 @@ steps:
|
||||||
target: /api/master/
|
target: /api/master/
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
include:
|
- master
|
||||||
- master
|
event:
|
||||||
|
- push
|
||||||
depends_on: [ sign-release ]
|
depends_on: [ sign-release ]
|
||||||
|
|
||||||
- name: release-version
|
- name: release-version
|
||||||
|
@ -439,11 +440,8 @@ steps:
|
||||||
source: dist/zip/*
|
source: dist/zip/*
|
||||||
target: /api/${DRONE_TAG##v}/
|
target: /api/${DRONE_TAG##v}/
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
event:
|
||||||
- "refs/tags/**"
|
- tag
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- master
|
|
||||||
depends_on: [ sign-release ]
|
depends_on: [ sign-release ]
|
||||||
|
|
||||||
# Build os packages and push it to our bucket
|
# Build os packages and push it to our bucket
|
||||||
|
@ -472,8 +470,9 @@ steps:
|
||||||
target: /api/master/
|
target: /api/master/
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
include:
|
- master
|
||||||
- master
|
event:
|
||||||
|
- push
|
||||||
depends_on: [ build-os-packages ]
|
depends_on: [ build-os-packages ]
|
||||||
|
|
||||||
- name: release-os-version
|
- name: release-os-version
|
||||||
|
@ -492,11 +491,8 @@ steps:
|
||||||
source: dist/os-packages/*
|
source: dist/os-packages/*
|
||||||
target: /api/${DRONE_TAG##v}/
|
target: /api/${DRONE_TAG##v}/
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
event:
|
||||||
- "refs/tags/**"
|
- tag
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- master
|
|
||||||
depends_on: [ build-os-packages ]
|
depends_on: [ build-os-packages ]
|
||||||
|
|
||||||
- name: deb-structure
|
- name: deb-structure
|
||||||
|
|
Loading…
Reference in a new issue