Use vars context
Some checks failed
Pack and Release / packwizInstall (push) Successful in 35s
Pack and Release / deploy (push) Failing after 24s

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2024-12-18 12:50:18 +01:00
parent eeabaf7a74
commit 69b02758fc

View file

@ -47,8 +47,8 @@ jobs:
helm repo update helm repo update
- name: Get values - name: Get values
run: | run: |
helm ls -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} || echo "No release found" helm ls -n ${{vars.NAMESPACE}} ${{vars.HELM_RELEASE_NAME}} || echo "No release found"
helm get values -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} > values.yaml|| echo "No values found" helm get values -n ${{vars.NAMESPACE}} ${{vars.HELM_RELEASE_NAME}} > values.yaml|| echo "No values found"
- name: Upgrade Helm - name: Upgrade Helm
run: | run: |
helm upgrade --debug ${{HELM_RELEASE_NAME}} minecraft-server-charts/minecraft -n ${{NAMESPACE}} -f values.yaml --set minecraftServer.downloadModpackUrl=https://git.modus.toldi.eu/${{github.repository}}/actions/runs/${{github.run_id}}/artifacts/mods helm upgrade --debug ${{vars.HELM_RELEASE_NAME}} minecraft-server-charts/minecraft -n ${{vars.NAMESPACE}} -f values.yaml --set minecraftServer.downloadModpackUrl=https://git.modus.toldi.eu/${{github.repository}}/actions/runs/${{github.run_id}}/artifacts/mods