Update .gitea/workflows/build-deploy.yaml
Some checks failed
CI/CD Pipeline / pipeline-execution (push) Has been cancelled
Some checks failed
CI/CD Pipeline / pipeline-execution (push) Has been cancelled
This commit is contained in:
parent
9560566bee
commit
a2068eb74f
@ -24,6 +24,9 @@ jobs:
|
|||||||
chmod +x /usr/local/bin/kubectl
|
chmod +x /usr/local/bin/kubectl
|
||||||
|
|
||||||
- name: Déployer sur Kubernetes
|
- name: Déployer sur Kubernetes
|
||||||
|
env:
|
||||||
|
KUBERNETES_SERVICE_HOST: kubernetes.default.svc
|
||||||
|
KUBERNETES_SERVICE_PORT: 443
|
||||||
run: |
|
run: |
|
||||||
kubectl apply -f k8s-deployment.yaml
|
kubectl apply -f k8s-deployment.yaml
|
||||||
kubectl rollout restart deployment/microservice-sample
|
kubectl rollout restart deployment/microservice-sample
|
||||||
Loading…
Reference in New Issue
Block a user