new url added to /app/urls.txt #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Process URLs Workflow | |
on: | |
push: | |
branches: | |
- models/hydrate | |
paths: | |
- 'app/urls.txt' | |
jobs: | |
process-urls: | |
runs-on: [self-hosted, rpi-swarm] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests minio weaviate pydantic pydantic-settings unstructured | |
working-directory: ./app | |
- name: Run Hydrate URLs Script | |
run: | | |
python hydrate.py |