Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hdser committed Sep 23, 2024
1 parent 67b279b commit 3eb63e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Daily Scrape
# Run the workflow daily
on:
schedule:
- cron: "0 0 * * *"
- cron: "0 * * * *"

jobs:
scrape_data:
Expand All @@ -26,6 +26,8 @@ jobs:
# Step 4: Run the Python scraping script
- name: Run scraping script
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
run: |
source .venv/bin/activate
python src/scripts/snapshot_crawler.py

0 comments on commit 3eb63e6

Please sign in to comment.