feat: implements a new cluster configuration structure

This commit is contained in:
2025-11-07 17:31:43 -03:00
parent c5ed394bb9
commit bbe5420893
28 changed files with 289 additions and 1184 deletions

27
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: remote ssh command
on:
repository_dispatch:
types: [deploy-prod]
push:
branches:
- main
- staging
jobs:
deploy:
name: Deploy to Cluster
environment: ${{ github.ref_name == 'main' && 'prod' || 'staging' }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Set Kubernetes Context
uses: azure/k8s-set-context@v1
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Execute deploy
run: |
./deploy.sh