Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Commit ded7447

Browse files
authored
Merge pull request #4 from TechTorque-2025/devOps
fix: Correct deployment YAML file references in GitHub Actions workflow
2 parents 40845c9 + 6269b5e commit ded7447

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444

4545
- name: Update image tag in YAML
4646
run: |
47-
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
47+
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
4848
4949
- name: Display file contents before apply
5050
run: |
51-
echo "--- Displaying k8s/services/notificationservice-deployment.yaml ---"
52-
cat config-repo/k8s/services/notificationservice-deployment.yaml
51+
echo "--- Displaying k8s/services/notification-deployment.yaml ---"
52+
cat config-repo/k8s/services/notification-deployment.yaml
5353
echo "------------------------------------------------------------"
5454
5555
- name: Deploy to Kubernetes
5656
run: |
57-
kubectl apply -f config-repo/k8s/services/notificationservice-deployment.yaml
58-
kubectl rollout status deployment/notificationservice-deployment
57+
kubectl apply -f config-repo/k8s/services/notification-deployment.yaml
58+
kubectl rollout status deployment/notification-deployment

0 commit comments

Comments
 (0)