Gist 7014a4039307a88d7d10e9e4adce0549
✓ Published0🌍 Public
Aadiamaan92
Last edited Jan 16, 2022
Created on Jan 16, 2022
This example demonstrates an automated GitHub Actions workflow that scrapes speeches by Indian Prime Minister Narendra Modi on a daily schedule. The workflow, defined in a YAML file, runs a Python script named `scrapper.py` at 8 AM UTC using a cron trigger. It sets up Python 3.8, installs dependencies via Poetry, and caches the virtual environment to speed up subsequent runs. The scraper uploads data to Kaggle using credentials stored as GitHub secrets, with the workflow supporting both scheduled and manual execution through `workflow_dispatch`.
AI-generated description