More steps to deploy
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
e1ba59ff95
commit
db5bc3c53f
1 changed files with 5 additions and 1 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue