Skip to content

Commit

Permalink
give names :)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhotertj committed Jun 4, 2024
1 parent 1e2cd71 commit d97dee7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/crawl.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Crawl data
extends: .github/workflows/setup.yml

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: '0 0 * * *' # Runs every day at midnight (UTC)

env:
DB_FILENAME: '$DB_FILENAME'
DB_FILENAME: production.db
CREATE_DB: true
DATA_PATH: './data'
CURRENT_SEASON: 2023
Expand All @@ -24,7 +24,7 @@ jobs:
id: artifact_check
run: |
if gh artifact view $DB_FILENAME --json name --jq '.[0]' > /dev/null 2>&1; then
echo "CREATE_DB=false" >> "$GITHUB_ENV"
echo "CREATE_DB=false" >> $GITHUB_ENV
- name: Create or download $DB_FILENAME
run: |
Expand Down

0 comments on commit d97dee7

Please sign in to comment.