Added deploy condition to builds
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Joe Bellus 2022-10-16 21:20:50 -04:00
parent 0c8568fdf5
commit dc3b78c505
1 changed files with 12 additions and 12 deletions

View File

@ -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