Skip to content

Run Scraper File

Run Scraper File #649

Workflow file for this run

name: Run Scraper File
on:
workflow_dispatch:
schedule:
# - cron: '*/30 8-18 * * 1-5' # start every 30 minutes between 8:00 and 18:00 UTC, Monday through Friday
- cron: '0 22 * * 1-5' # start every day at 22:00 UTC
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Run scraper
run: bun src/scraper.ts
- name: Save output to JSON
run: |
git config --global user.name 'Matvey Melishev'
git config --global user.email '[email protected]'
git add .
git commit -m 'feat: update data'
git push