Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreenwood committed Apr 2, 2024
1 parent 89c6149 commit 3d96b53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_helm_chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Deploy Helm Chart to FNS GKE

on:
push:
branches:
- devops/FAIRSPC-23_deployment
workflow_dispatch:
inputs:
name:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d96b53

Please sign in to comment.