Skip to content

Octagon Scraper

Octagon Scraper #74

Workflow file for this run

name: Octagon Scraper
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * 4'
jobs:
build:
runs-on: ubuntu-22.04
name: Run complete scraper
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v3
with:
version: 7.18.2
run_install: true
- run: |
npm run scrape
git config user.name octagon-api
git add -A
git commit -am "[BOT] Update Octagon API database"
git push origin main
- run: echo "🎉 Task finished!"