diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a08447f..273587e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,10 +42,14 @@ jobs: uses: actions/k8s-set-context@v1 with: kubeconfig: ${{ secrets.KUBECONFIG }} - - name: Test kubeconfig - run: kubectl get pods -n minecraft - name: Set up Helm run: | curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 chmod 700 get_helm.sh - ./get_helm.sh \ No newline at end of file + ./get_helm.sh + - name: Deploy + run: | + helm repo add minecraft-server-charts https://itzg.github.io/minecraft-server-charts/ + helm repo update + helm get values -n ${NAMESPACE} ${HELM_RELEASE_NAME} > values.yaml|| echo "No values found" + #helm upgrade ${HELM_RELEASE_NAME} minecraft-server-charts/minecraft -n ${NAMESPACE} -f values.yaml --set minecraftServer.downloadModpackUrl= \ No newline at end of file