Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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