Update .gitea/workflows/server-run.yaml
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 15s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 13s

This commit is contained in:
jonas 2025-06-15 21:56:03 +00:00
parent 33cf5235a4
commit 5ce221e1c7

View File

@ -163,9 +163,11 @@ jobs:
port: port:
number: 80 number: 80
EOF EOF
kubectl delete deployment ${REPO_NAME} -n gitea-deployment
kubectl delete service ${REPO_NAME} -n gitea-deployment kubectl delete deployment "${REPO_NAME}" -n gitea-deployment --ignore-not-found
kubectl delete ingress ${REPO_NAME}-ingress -n gitea-deployment kubectl delete service "${REPO_NAME}" -n gitea-deployment --ignore-not-found
kubectl delete ingress "${REPO_NAME}-ingress" -n gitea-deployment --ignore-not-found
# Display the manifest for debugging # Display the manifest for debugging
echo "--- Generated manifest: ---" echo "--- Generated manifest: ---"
cat k8s-manifests.yaml cat k8s-manifests.yaml