Merge branch 'kub-stage' into production
Build and Deploy to Production / build-and-deploy (push) Successful in 14m33s

This commit is contained in:
masoodafar-web
2026-09-24 21:48:27 +03:30
12 changed files with 205 additions and 15 deletions
+3 -3
View File
@@ -73,9 +73,9 @@ jobs:
# Apply manifests and restart
sshpass -e ssh -o StrictHostKeyChecking=no root@${{ env.K8S_SERVER }} "
kubectl apply -f /tmp/backoffice-deployment.yaml &&
kubectl rollout restart deployment/backoffice &&
kubectl rollout status deployment/backoffice --timeout=180s &&
kubectl apply -n kbs-stage -f /tmp/backoffice-deployment.yaml &&
kubectl -n kbs-stage rollout restart deployment/backoffice &&
kubectl -n kbs-stage rollout status deployment/backoffice --timeout=180s &&
rm -f /tmp/backoffice-deployment.yaml
"
echo "✅ Deployed!"