Use vars context
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
eeabaf7a74
commit
69b02758fc
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -47,8 +47,8 @@ jobs:
|
|||
helm repo update
|
||||
- name: Get values
|
||||
run: |
|
||||
helm ls -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} || echo "No release found"
|
||||
helm get values -n ${{NAMESPACE}} ${{HELM_RELEASE_NAME}} > values.yaml|| echo "No values found"
|
||||
helm ls -n ${{vars.NAMESPACE}} ${{vars.HELM_RELEASE_NAME}} || echo "No release found"
|
||||
helm get values -n ${{vars.NAMESPACE}} ${{vars.HELM_RELEASE_NAME}} > values.yaml|| echo "No values found"
|
||||
- name: Upgrade Helm
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue