[CI] First attempt of an deployment step
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Simon Cornet 2023-03-23 10:36:13 +01:00
parent b692c1085f
commit 7c74a1dc7d

View File

@ -30,3 +30,16 @@ steps:
tags: tags:
- 'v1.0' - 'v1.0'
- 'latest' - 'latest'
# deploy to kubernetes
- image: 'bitnami/kubectl'
name: 'deploy'
pull: 'always'
environment:
KUBE_CONFIG:
from_secret: 'kube_config'
commands:
- 'echo $KUBE_CONFIG >> $HOME/.kube/config'
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '