Keep Hugging Face Space Container Alive #80
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: Keep Hugging Face Space Container Alive | |
on: | |
schedule: | |
- cron: '0 4 * * 0-6' | |
workflow_dispatch: | |
jobs: | |
ping-hf-space: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: GET Request | |
run: | | |
curl -w @- -o /dev/null -s "https://prncevince-sat-viz.hf.space/" <<'EOF' | |
HTTP Status: %{http_code}\n | |
time_namelookup: %{time_namelookup}\n | |
time_connect: %{time_connect}\n | |
time_appconnect: %{time_appconnect}\n | |
time_pretransfer: %{time_pretransfer}\n | |
time_redirect: %{time_redirect}\n | |
time_starttransfer: %{time_starttransfer}\n | |
----------\n | |
time_total: %{time_total}\n | |
EOF | |