Keep Render awake (offset) #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Complemento do keep-render-awake.yml — horarios deslocados (~7 min). | |
| name: Keep Render awake (offset) | |
| on: | |
| schedule: | |
| - cron: '9 * * * *' | |
| - cron: '24 * * * *' | |
| - cron: '39 * * * *' | |
| - cron: '54 * * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: keep-render-awake-offset | |
| cancel-in-progress: false | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Wake API | |
| env: | |
| RENDER_APP_URL: ${{ secrets.RENDER_APP_URL || vars.RENDER_APP_URL || 'https://cronograma-gravacoes.onrender.com' }} | |
| run: | | |
| curl -fsS --retry 4 --retry-delay 20 --retry-all-errors --max-time 120 \ | |
| "${RENDER_APP_URL%/}/api/health" |