fix: staging uses namespace default, not foursat
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled

This commit is contained in:
masoodafar-web
2026-02-23 20:38:27 +03:30
parent 3153fd8a74
commit 68da3f45a3
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -92,10 +92,9 @@ jobs:
# Apply manifests and restart
sshpass -e ssh -o StrictHostKeyChecking=no root@${{ env.K8S_SERVER }} "
kubectl create namespace foursat --dry-run=client -o yaml | kubectl apply -f - &&
kubectl apply -f /tmp/cms-deployment.yaml &&
kubectl rollout restart deployment/cms -n foursat &&
kubectl rollout status deployment/cms -n foursat --timeout=180s &&
kubectl rollout restart deployment/cms &&
kubectl rollout status deployment/cms --timeout=180s &&
rm -f /tmp/cms-deployment.yaml
"
echo "✅ Deployed!"