Files
api-ubigeo/.github/workflows/sync-gitea.yml
Gianpierre Mio c00fc2fbd6
All checks were successful
Deploy API-Ubigeo / deploy (push) Successful in 13m52s
ci: unify deploy pipeline - sync to Gitea + self-hosted deploy
- 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
2026-04-08 13:42:40 -05:00

17 lines
356 B
YAML

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