Files
infrastructure/.gitea/workflows/minecraft.yml
Alex Mickelson 3f5c9b24a4
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 1s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 3s
Apply Kuberentes Configs / notify-on-failure (push) Has been skipped
minecraft
2026-03-07 20:01:12 -07:00

21 lines
535 B
YAML

name: deploy minecraft
on: [workflow_dispatch]
jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
minecraft:
runs-on: home-server
needs: update-repo
env:
KUBECONFIG: /home/gitea-runner/.kube/config
defaults:
run:
working-directory: /home/gitea-runner/infrastructure
steps:
- name: deploy minecraft
run: |
for file in kubernetes/minecraft/*.yml; do
cat "$file" | envsubst | kubectl apply -f -
done