Skip to content

Run daily cron projects #263

Run daily cron projects

Run daily cron projects #263

Workflow file for this run

name: Run daily cron projects
on:
schedule:
- cron: "0 6 * * *" # Run every day at 6 UTC
jobs:
Run-Scheduled-Exports:
runs-on: ubuntu-latest
env:
RAWDATA_API_AUTH_TOKEN: ${{ secrets.RAWDATA_API_AUTH_TOKEN }}
RAW_DATA_API_BASE_URL : 'https://api-prod.raw-data.hotosm.org/v1'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: "3.11"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Shoot daily projects
run: python extract.py --fetch-scheduled-exports daily