Skip to content

Update Huggingface Dataset #315

Update Huggingface Dataset

Update Huggingface Dataset #315

Workflow file for this run

name: Update Huggingface Dataset
on:
schedule: # once daily at 3:05 pm PST (23:05 UTC)
- cron: '5 23 * * *'
jobs:
run:
runs-on: ubuntu-latest
defaults:
run:
working-directory: scripts/
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python environment
uses: actions/setup-python@v2
with:
python-version: '3.11.x'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Setup environment
run: |
echo "HUGGINGFACE_LOGIN_TOKEN=${{ secrets.HUGGINGFACE_LOGIN_TOKEN }}" > .env
- name: Run script
run: python updateHfDataset.py