Skip to content

Scrape Latest Posts

Scrape Latest Posts #4

Workflow file for this run

name: Scrape Latest Posts
on:
schedule:
- cron: "0 */2 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: "pip"
- run: pip install -r requirements.txt
- run: python main.py