Skip to content

Commit

Permalink
fix date args
Browse files Browse the repository at this point in the history
  • Loading branch information
rhotertj committed Jun 4, 2024
1 parent 072dd8a commit 3227071
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
id: download_artifact
uses: actions/download-artifact@v4
with:
name: $DB_FILENAME
path: $DB_FILENAME
name: ${{DB_FILENAME}}
path: ${{DB_FILENAME}}

- name: Create DB
if: ${{ failure() && steps.download_artifact.conclusion == 'failure' }}
Expand All @@ -56,7 +56,11 @@ 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_PATH --season $CURRENT_SEASON --server http://localhost:4444 --data 2024-05-03
python scripts/crawl_concurrently.py \
--path $DATA_PATH \
--season $CURRENT_SEASON \
--server http://localhost:4444 \
--date 2024-05-03
python scripts/insert_data.py -db $DB_FILENAME --data $(ls $DATA_PATH/*.json)
- name: Upload database as artifact
Expand Down

0 comments on commit 3227071

Please sign in to comment.