Download .github/workflows/reservas-tick.yml from Modulo-6/api: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/Modulo-6/api/resolve/main/.github/workflows/reservas-tick.yml
- Command line
-
hf download hf://spaces/Modulo-6/api/.github/workflows/reservas-tick.yml
-
curl -L -o reservas-tick.yml https://huggingface.co/spaces/Modulo-6/api/resolve/main/.github/workflows/reservas-tick.yml
470 Bytes
| name: Reservas Tick | |
| on: | |
| schedule: | |
| - cron: "*/5 * * * *" # cada 5 min — mínimo práctico de GitHub Actions | |
| workflow_dispatch: {} # permite disparar el tick a mano desde la pestaña Actions | |
| jobs: | |
| tick: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: POST /internal/reservas/tick | |
| run: | | |
| curl -sf -X POST "${{ vars.M6_URL }}/api/v1/internal/reservas/tick" \ | |
| -H "X-Internal-Token: ${{ secrets.M6_INTERNAL_TICK_SECRET }}" | |