Ping Render Server #5353
This file contains 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 Server | |
# This workflow is triggered at a scheduled interval of every 1 minute | |
on: | |
schedule: | |
- cron: '*/1 * * * *' # Runs every minute | |
jobs: | |
ping_job: | |
name: Ping the Render Server | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository (if needed for the action) | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Ping the Render server using curl | |
- name: Ping Render Server | |
run: | | |
echo "Pinging Render server at ${{ secrets.URL }}" | |
curl -X GET ${{ secrets.URL }} -o /dev/null -s -w "Response: %{http_code}\n" |