cd: update delete preview

This commit is contained in:
Jeremy Denquin 2022-04-03 01:29:08 +02:00
parent 9d10c5e886
commit af10ec374d

View File

@ -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
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