Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2024-12-04 07:39:56 +01:00
parent 0786361d49
commit 548f4b652a

View file

@ -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
./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=