From af10ec374d228d78984f5bd6bb4adecd329eb2f8 Mon Sep 17 00:00:00 2001
From: Jeremy Denquin <jdenquin@gmail.com>
Date: Sun, 3 Apr 2022 01:29:08 +0200
Subject: [PATCH] cd: update delete preview

---
 .github/workflows/delete-preview.yml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/delete-preview.yml b/.github/workflows/delete-preview.yml
index e8d3779..d21606f 100644
--- a/.github/workflows/delete-preview.yml
+++ b/.github/workflows/delete-preview.yml
@@ -35,10 +35,7 @@ jobs:
       - name: Delete Front Preview
         if: ${{ steps.helm_deployment.outputs.deployment != 'null' }}
         run: |
-          echo "${{ steps.helm_deployment.outputs.deployment }}"
           helm --kubeconfig ./kubeconfig.yaml uninstall ${{ github.event.inputs.preview_name }}-app
-      - name: Delete API Preview
-        if: ${{ steps.helm_deployment.outputs.deployment != 'null' }}
-        run: |
-          echo "${{ steps.helm_deployment.outputs.deployment }}"
-          helm --kubeconfig ./kubeconfig.yaml uninstall ${{ github.event.inputs.preview_name }}-api
\ No newline at end of file
+          helm --kubeconfig ./kubeconfig.yaml uninstall ${{ github.event.inputs.preview_name }}-api
+          helm --kubeconfig ./kubeconfig.yaml uninstall ${{ github.event.inputs.preview_name }}-worker
+          helm --kubeconfig ./kubeconfig.yaml uninstall ${{ github.event.inputs.preview_name }}-clock
\ No newline at end of file