still fighting with drone promotions
This commit is contained in:
parent
15f50d6778
commit
ed4ec8c945
26
.drone.yml
26
.drone.yml
@ -51,12 +51,11 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- submodules
|
- submodules
|
||||||
- clean
|
- clean
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- promote
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: deploy
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:latest
|
||||||
environment:
|
environment:
|
||||||
@ -65,12 +64,11 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||||
- goreleaser release --rm-dist --parallelism=1
|
- goreleaser release --rm-dist --parallelism=1
|
||||||
|
depends_on:
|
||||||
depends_on:
|
- submodules
|
||||||
- default
|
- clean
|
||||||
|
when:
|
||||||
trigger:
|
event:
|
||||||
event:
|
- promote
|
||||||
- promote
|
target:
|
||||||
target:
|
- production
|
||||||
- production
|
|
||||||
|
Loading…
Reference in New Issue
Block a user