From 63f6bb8b3f538d3bba196be2d3a1020fe11eab01 Mon Sep 17 00:00:00 2001 From: RandithaK Date: Sat, 8 Nov 2025 17:12:00 +0530 Subject: [PATCH] fix: Correct deployment YAML file references in GitHub Actions workflow --- .github/workflows/deploy.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c60a20b..b1e1afc 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/timelogging_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/timelogging-service-deployment.yaml + yq -i '(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = "ghcr.io/techtorque-2025/timelogging_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/timelogging-deployment.yaml - name: Display file contents before apply run: | - echo "--- Displaying k8s/services/timelogging-service-deployment.yaml ---" - cat config-repo/k8s/services/timelogging-service-deployment.yaml - echo "------------------------------------------------------------" + echo "--- Displaying k8s/services/timelogging-deployment.yaml ---" + cat config-repo/k8s/services/timelogging-deployment.yaml + echo "-----------------------------------------------------------" - name: Deploy to Kubernetes run: | - kubectl apply -f config-repo/k8s/services/timelogging-service-deployment.yaml - kubectl rollout status deployment/timelogging-service-deployment + kubectl apply -f config-repo/k8s/services/timelogging-deployment.yaml + kubectl rollout status deployment/timelogging-deployment