Files
infrastructure/.gitea/workflows/apply-kubernetes.yml
Alex Mickelson faf0ac890a
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 1s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 2s
runs-on
2026-02-07 15:14:18 -07:00

20 lines
606 B
YAML

name: Apply Kuberentes Configs
on: [push, workflow_dispatch]
jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
update-infrastructure:
runs-on: home-server
needs: update-repo-folder
steps:
- name: update home server containers
env:
KUBECONFIG: /home/gitea-runner/.kube/config
working-directory: /home/gitea-runner/infrastructure
run: |
kubectl apply -f kubernetes/proxy-ingress
kubectl annotate ingressclass nginx \
ingressclass.kubernetes.io/is-default-class="true" --overwrite