Skip to content

Commit

Permalink
add data and date
Browse files Browse the repository at this point in the history
  • Loading branch information
rhotertj committed Jun 4, 2024
1 parent cb513fa commit 072dd8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
pip install -r requirements.txt
mkdir -p data
echo $(date -d "2 days ago" +"%Y-%m-%d")
python scripts/crawl_concurrently.py --path ./data --season $CURRENT_SEASON --server http://localhost:4444
python scripts/insert_data.py -db $DB_FILENAME --data ./data/*.json
python scripts/crawl_concurrently.py --path DATA_PATH --season $CURRENT_SEASON --server http://localhost:4444 --data 2024-05-03
python scripts/insert_data.py -db $DB_FILENAME --data $(ls $DATA_PATH/*.json)
- name: Upload database as artifact
if: ${{ steps.crawler.conclusion == 'success' }}
Expand Down

0 comments on commit 072dd8a

Please sign in to comment.