From 6269b5e6452c0319052e4e694a1120ff84292d11 Mon Sep 17 00:00:00 2001 From: RandithaK Date: Sat, 8 Nov 2025 17:12:19 +0530 Subject: [PATCH] fix: Correct deployment YAML file references in GitHub Actions workflow --- .github/workflows/deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 2ae00b9..15c8273 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -44,15 +44,15 @@ jobs: - name: Update image tag in YAML run: | - yq -i '(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = "ghcr.io/techtorque-2025/notification_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/notificationservice-deployment.yaml + yq -i '(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = "ghcr.io/techtorque-2025/notification_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/notification-deployment.yaml - name: Display file contents before apply run: | - echo "--- Displaying k8s/services/notificationservice-deployment.yaml ---" - cat config-repo/k8s/services/notificationservice-deployment.yaml + echo "--- Displaying k8s/services/notification-deployment.yaml ---" + cat config-repo/k8s/services/notification-deployment.yaml echo "------------------------------------------------------------" - name: Deploy to Kubernetes run: | - kubectl apply -f config-repo/k8s/services/notificationservice-deployment.yaml - kubectl rollout status deployment/notificationservice-deployment + kubectl apply -f config-repo/k8s/services/notification-deployment.yaml + kubectl rollout status deployment/notification-deployment