Skip to content

Commit

Permalink
Update scrape.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
berlintay authored Aug 10, 2024
1 parent bd408b2 commit 024632e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ jobs:
- name: Start API server
run: |
nohup node .backend/api.js & # Starts the API server in the background
sleep 60
# Run the scraper
- name: Run scraper script # Eat a d**ck
run: node --experimental-modules backend/scrape.mjs # Ensure this script handles scraping and storing the data
run: node backend/scrape.mjs # Ensure this script handles scraping and storing the data

# If your scraper updates files that need to be committed back to the repository
- name: Commit and push changes
Expand Down

0 comments on commit 024632e

Please sign in to comment.