Keep StockSense Alive #950
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
| name: Keep StockSense Alive | |
| on: | |
| schedule: | |
| - cron: '*/10 * * * *' # Every 10 minutes | |
| workflow_dispatch: # Manual trigger too | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping StockSense Health | |
| run: | | |
| curl --max-time 500 --retry 3 --retry-delay 10 \ | |
| -f https://stocksense-agent.onrender.com/health |