Skip to content

Scheduled Data Export #6564

Scheduled Data Export

Scheduled Data Export #6564

Workflow file for this run

name: Scheduled Data Export
on:
schedule:
- cron: '0 * * * *' # Runs at the start of every hour
workflow_dispatch: # Enables manual triggering of the workflow
jobs:
export-data:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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
- name: Run script
env:
API_KEY: ${{ secrets.API_KEY }}
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}
UID: ${{ secrets.UID }}
CID: ${{ secrets.CID }}
run: python scripts/generate_download.py