fix: staging uses namespace default, not foursat
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user