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

Commit 3dbffa5

Browse files
authored
Merge pull request #7 from TechTorque-2025/devOps
fix: Correct deployment YAML file references in GitHub Actions workflow
2 parents 3552f41 + 63f6bb8 commit 3dbffa5

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/timelogging_service:${{ steps.get_sha.outputs.sha }}"' config-repo/k8s/services/timelogging-service-deployment.yaml
47+
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
4848
4949
- name: Display file contents before apply
5050
run: |
51-
echo "--- Displaying k8s/services/timelogging-service-deployment.yaml ---"
52-
cat config-repo/k8s/services/timelogging-service-deployment.yaml
53-
echo "------------------------------------------------------------"
51+
echo "--- Displaying k8s/services/timelogging-deployment.yaml ---"
52+
cat config-repo/k8s/services/timelogging-deployment.yaml
53+
echo "-----------------------------------------------------------"
5454
5555
- name: Deploy to Kubernetes
5656
run: |
57-
kubectl apply -f config-repo/k8s/services/timelogging-service-deployment.yaml
58-
kubectl rollout status deployment/timelogging-service-deployment
57+
kubectl apply -f config-repo/k8s/services/timelogging-deployment.yaml
58+
kubectl rollout status deployment/timelogging-deployment

0 commit comments

Comments
 (0)