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

Commit 03309fd

Browse files
authored
Merge pull request #6 from TechTorque-2025/devOps
fix: Correct file references in Kubernetes deployment workflow
2 parents 2e00692 + 9eb362a commit 03309fd

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 6 additions & 6 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/project_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/projectservice-deployment.yaml
47+
yq -i '(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = "ghcr.io/techtorque-2025/project_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/project-deployment.yaml
4848
4949
- name: Display file contents before apply
5050
run: |
51-
echo "--- Displaying k8s/services/projectservice-deployment.yaml ---"
52-
cat config-repo/k8s/services/projectservice-deployment.yaml
53-
echo "------------------------------------------------------------"
51+
echo "--- Displaying k8s/services/project-deployment.yaml ---"
52+
cat config-repo/k8s/services/project-deployment.yaml
53+
echo "---------------------------------------------------------"
5454
5555
- name: Deploy to Kubernetes
5656
run: |
57-
kubectl apply -f config-repo/k8s/services/projectservice-deployment.yaml
58-
kubectl rollout status deployment/projectservice-deployment
57+
kubectl apply -f config-repo/k8s/services/project-deployment.yaml
58+
kubectl rollout status deployment/project-deployment

0 commit comments

Comments
 (0)