Skip to content

Update Huggingface Dataset #13

Update Huggingface Dataset

Update Huggingface Dataset #13

Workflow file for this run

name: Update Huggingface Dataset
on:
schedule: # once daily at 11:05 pm PST (6:05 UTC)
- cron: '5 6 * * *'
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.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