Configuration Files
Production-ready configuration files with detailed comments and best practices. Each file works together as a complete deployment solution.
name: Deploy to Kubernetes on Hetzner
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure kubectl
run: |
# Configure kubectl for Hetzner
echo "Setup kubectl"
- name: Deploy to Kubernetes
run: |
kubectl apply -f k8s/
kubectl rollout status deployment/my-app