Skip to content

Funda Scraper

Funda Scraper #8934

Workflow file for this run

name: Funda Scraper
on:
push:
branches:
- main
schedule:
- cron: "*/30 * * * *"
workflow_dispatch:
jobs:
scrape:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run Funda Scraper
env:
FUNDA_DB: ${{ secrets.FUNDA_DB }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
CHAT_ID: ${{ secrets.CHAT_ID }}
SEARCH_URL: ${{ secrets.SEARCH_URL }}
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
run: python scraper.py
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5