More steps to deploy
All checks were successful
Pack and Release / packwizInstall (push) Successful in 32s
Pack and Release / deploy (push) Successful in 21s

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2024-12-04 11:34:35 +01:00
parent e1ba59ff95
commit db5bc3c53f

View file

@ -41,9 +41,13 @@ jobs:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh chmod 700 get_helm.sh
./get_helm.sh ./get_helm.sh
- name: Deploy - name: Add Repo
run: | run: |
helm repo add minecraft-server-charts https://itzg.github.io/minecraft-server-charts/ helm repo add minecraft-server-charts https://itzg.github.io/minecraft-server-charts/
helm repo update helm repo update
- name: Get values
run: |
helm get values -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} > values.yaml|| echo "No values found" helm get values -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} > values.yaml|| echo "No values found"
- name: Upgrade Helm
run: |
helm upgrade ${{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 ${{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