Skip to content

Commit e0de2bb

Browse files
committed
feat: Remove and reinstall Helm deployments on deployment
1 parent f687afa commit e0de2bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/deployment.yml

+14
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,27 @@ jobs:
2929
run: |
3030
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
3131
32+
33+
- name: RemoveOs
34+
uses: WyriHaximus/github-action-helm3@v3
35+
with:
36+
exec: /usr/local/bin/helm uninstall gitdataos --namespace gitdata
37+
kubeconfig: ${{ secrets.KUBECONTENT }}
38+
overrule_existing_kubeconfig: 'true'
39+
3240
- name: DeployOs
3341
uses: WyriHaximus/github-action-helm3@v3
3442
with:
3543
exec: /usr/local/bin/helm upgrade gitdataos --install ./charts --namespace gitdata
3644
kubeconfig: ${{ secrets.KUBECONTENT }}
3745
overrule_existing_kubeconfig: 'true'
3846

47+
- name: RemoveWeb
48+
uses: WyriHaximus/github-action-helm3@v3
49+
with:
50+
exec: /usr/local/bin/helm uninstall gitdataweb --namespace gitdata
51+
kubeconfig: ${{ secrets.KUBECONTENT }}
52+
overrule_existing_kubeconfig: 'true'
3953
- name: DeployWeb
4054
uses: WyriHaximus/github-action-helm3@v3
4155
with:

0 commit comments

Comments
 (0)