diff --git a/.github/workflows/scrape.yml b/.github/workflows/scrape.yml index 2ce66f4..0c6bb90 100644 --- a/.github/workflows/scrape.yml +++ b/.github/workflows/scrape.yml @@ -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