name: Keep HuggingFace Space Alive on: schedule: - cron: '0 */12 * * *' workflow_dispatch: jobs: keep-alive: runs-on: ubuntu-latest steps: - name: Ping HuggingFace Space run: | curl -s -o /dev/null -w "%{http_code}" https://huggingface.co/spaces/chanfasf/CHATSAM || true curl -s -o /dev/null -w "%{http_code}" https://chanfasf-chatsam.hf.space || true - name: Log status run: echo "Keep-alive ping sent at $(date)"