ci: unify deploy pipeline - sync to Gitea + self-hosted deploy
All checks were successful
Deploy API-Ubigeo / deploy (push) Successful in 13m52s

- GitHub: CI on ubuntu-latest (no more self-hosted)
- GitHub: add sync-gitea.yml for auto-deploy trigger
- Gitea: add deploy.yml with robust health check
- Remove disabled deploy.yml.disabled
This commit is contained in:
Gianpierre Mio
2026-04-08 13:42:40 -05:00
parent 976c5ee10b
commit c00fc2fbd6
4 changed files with 71 additions and 73 deletions

17
.github/workflows/sync-gitea.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Sync to Gitea
on:
push:
branches: [main]
jobs:
sync:
name: Push to Gitea
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to Gitea
run: |
git push https://${{ secrets.GITEA_TOKEN }}@git.darkcodex.dev/darkcodex/api-ubigeo.git main --force