Ping Render App #9143
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: Ping Render App | |
| # Run periodically | |
| on: | |
| schedule: | |
| # Every 10 minutes | |
| - cron: '*/5 * * * *' | |
| workflow_dispatch: | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Render app | |
| run: | | |
| STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://devsync-hrj5.onrender.com) | |
| echo "Pinged Render app with status: $STATUS" |