Repository navigation
π¦ v1.3 β GitHub Actions Integration & Smart Logging
π What's new in v1.3
β
GitHub Actions support for scheduled scraping and Google Sheets logging
β
Cloud-friendly improvements and smarter scheduling
β
All logs now available as downloadable artifacts after each run
π Improvements:
- Refactored
is_gym_open()to allow Β±5 min tolerance (e.g. at 22:03 still allowed) - Better headless Chrome config for cloud environments
- Screenshot saved as
debug.pngif scraping fails (uploaded to Actions) - Workflow now respects weekday (07:00β22:05) and weekend (09:00β18:05) rules
π Secrets Handling:
- Google credentials now securely restored from base64-encoded secret (
GOOGLE_CREDS_BASE64)
π Artifacts Uploaded After Each Run:
debug.pngβ screenshot of the scraping UI (on failure)data/gym_data.csvβ scraped gym activity datadata/failures.logβ write or network errorsdata/unknown_gyms.logβ unmatched clubs
π How it works:
This GitHub Actions workflow triggers every 15 minutes, but the scraper only runs during gym open hours.
Full Changelog: v1.2...v1.3