Skip to content

Scrape and Deploy RAG #98

Scrape and Deploy RAG

Scrape and Deploy RAG #98

Workflow file for this run

name: Scrape and Deploy RAG
on:
push:
branches:
- main
schedule:
- cron: '0 15 * * *' # Daily at midnight KST
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: |
pip install -r requirements.txt
python scraper.py --limit 20 --no-ocr
python rag_indexer.py
python export_for_web.py
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
keep_files: true