Skip to content

Commit

Permalink
Add step to delete the helm chart with the same name before install (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Apr 20, 2023
1 parent 03c6f4d commit 48740dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ runs:
helm search repo starship/devnet
shell: bash

- name: Helm delete before install
run: |
helm delete ${{ inputs.name }} --debug --namespace ${{ inputs.namespace }} --wait || true
shell: bash

- name: Helm install
run: |
helm install -f ${{ inputs.name }}-values.yaml ${{ inputs.name }} ${{ inputs.chart }} --wait --debug --version ${{ inputs.version }} --timeout 30m0s --namespace ${{ inputs.namespace }} --create-namespace
Expand Down

0 comments on commit 48740dd

Please sign in to comment.