Added deploy condition to builds
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0c8568fdf5
commit
dc3b78c505
24
.drone.yml
24
.drone.yml
|
@ -25,12 +25,12 @@ steps:
|
|||
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
||||
- ./mc cp abacus-linux-amd64.tar.gz fivesigma/public/abacus/abacus-linux-amd64.tar.gz
|
||||
- ./mc cp target/release/abacus-amd64.deb fivesigma/public/abacus/abacus-amd64.deb
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- staging
|
||||
- production
|
||||
|
||||
|
||||
---
|
||||
|
@ -51,9 +51,9 @@ steps:
|
|||
- mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
||||
- cargo build --release --target=x86_64-pc-windows-msvc
|
||||
- mc cp target\x86_64-pc-windows-msvc\release\abacus.exe fivesigma/public/abacus/abacus.exe
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- staging
|
||||
- production
|
||||
|
|
Loading…
Reference in New Issue