Simon Cornet
fba085ad11
Some checks reported errors
continuous-integration/drone/push Build was killed
19 lines
370 B
YAML
19 lines
370 B
YAML
---
|
|
kind: 'pipeline'
|
|
name: 'build'
|
|
type: 'kubernetes'
|
|
|
|
steps:
|
|
|
|
# deploy to kubernetes
|
|
- image: 'docker.io/bitnami/kubectl'
|
|
name: 'deploy'
|
|
pull: 'always'
|
|
environment:
|
|
KUBE_CONFIG:
|
|
from_secret: 'drone_kube_config'
|
|
|
|
commands:
|
|
- 'echo "$KUBE_CONFIG" > $HOME/.kube/config'
|
|
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net'
|