Added deploy stage
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Joe Bellus 2022-09-25 02:57:10 -04:00
parent 485df25fca
commit 2cd8486aed
1 changed files with 15 additions and 2 deletions

View File

@ -3,7 +3,20 @@ name: default
steps:
- name: test
image: rust:1.60
image: rust:latest
commands:
- cargo build --verbose --all
- cargo test --verbose --all
- cargo test --verbose --all
- deploy:
image: rust:latest
commands:
- cargo build --release
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
- ./mc cp target/release/conductor fivesigma/public/conductor
# when:
# event:
# - promote
# target:
# - staging
# - production