fix: production uses namespace default + remove foursat namespace references
Build and Deploy to Production / build-and-deploy (push) Successful in 8m44s
Build and Deploy to Production / build-and-deploy (push) Successful in 8m44s
This commit is contained in:
@@ -94,10 +94,9 @@ jobs:
|
||||
|
||||
# Apply manifests and update image
|
||||
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 set image deployment/cms cms=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} -n foursat &&
|
||||
kubectl rollout status deployment/cms -n foursat --timeout=300s &&
|
||||
kubectl set image deployment/cms cms=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} &&
|
||||
kubectl rollout status deployment/cms --timeout=300s &&
|
||||
rm -f /tmp/cms-deployment.yaml
|
||||
"
|
||||
echo "✅ Deployed to Production!"
|
||||
|
||||
Reference in New Issue
Block a user