Added deploy stage
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
485df25fca
commit
2cd8486aed
17
.drone.yml
17
.drone.yml
|
@ -3,7 +3,20 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: rust:1.60
|
image: rust:latest
|
||||||
commands:
|
commands:
|
||||||
- cargo build --verbose --all
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue