--- kind: 'pipeline' name: 'build' type: 'kubernetes' steps: # deploy to kubernetes - image: 'docker.io/bitnami/kubectl:1.26.3' name: 'deploy' pull: 'always' environment: DRONE_KUBECONFIG: from_secret: 'drone_kube_config' commands: - echo $DRONE_KUBECONFIG > $HOME/.kube/config - cat $HOME/.kube/config - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net