From 61bc94b05d4b96d6efb9c9c092ea3e07ba6f78be Mon Sep 17 00:00:00 2001 From: maxmwang Date: Tue, 8 Oct 2024 20:08:10 -0700 Subject: [PATCH] fix cd-prod kubectl commands --- .github/workflows/cd-prod.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-prod.yaml b/.github/workflows/cd-prod.yaml index 34a463592..19bb245b2 100644 --- a/.github/workflows/cd-prod.yaml +++ b/.github/workflows/cd-prod.yaml @@ -38,8 +38,8 @@ jobs: script: | cd ./infra if helm status bt-prod-app ; then - kubectl rollout restart bt-prod-app-backend - kubectl rollout restart bt-prod-app-frontend + kubectl rollout restart deployment bt-prod-app-backend + kubectl rollout restart deployment bt-prod-app-frontend else helm install bt-prod-app ./app --namespace=bt \ --set host=stanfurdtime.com