From 3d96b534a13684d62c472b7cbacc5d0ef1fb9b6f Mon Sep 17 00:00:00 2001 From: anton Date: Tue, 2 Apr 2024 11:41:48 +0200 Subject: [PATCH] test --- .github/workflows/deploy_helm_chart.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_helm_chart.yaml b/.github/workflows/deploy_helm_chart.yaml index e83a42c80..0ed24319e 100644 --- a/.github/workflows/deploy_helm_chart.yaml +++ b/.github/workflows/deploy_helm_chart.yaml @@ -1,6 +1,9 @@ name: Deploy Helm Chart to FNS GKE on: + push: + branches: + - devops/FAIRSPC-23_deployment workflow_dispatch: inputs: name: @@ -78,7 +81,7 @@ jobs: - name: Delete StatefulSet (if exists) to force re-deploy run: | # Check if the StatefulSet exists - if kubectl get statefulset fairspace --namespace fairspace-${{ env.ENVIRONMENT }} &> /dev/null; then + if kubectl get statefulset fairspace --namespace fairspace_test_ns-${{ env.ENVIRONMENT }} &> /dev/null; then kubectl delete statefulset fairspace --namespace fairspace-${{ env.ENVIRONMENT }} --cascade=orphan echo "StatefulSet fairspace deleted." else