Files
infrastructure/.gitea/workflows/minecraft.yml
Alex Mickelson 5fc9da84d3
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 19:54:55 -07:00

21 lines
550 B
YAML

name: Apply Kuberentes Configs
on: [workflow_dispatch]
jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
minecraft:
runs-on: home-server
needs: update-repo-folder
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