api / .github /workflows /reservas-tick.yml
juampisor's picture
Implementacion action para tick de cirugias
5cd3cff
Raw History Blame Contribute Delete
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 }}"