Skip to content

Octagon Scraper

Octagon Scraper #105

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: 20
- uses: pnpm/action-setup@v4
with:
run_install: true
- run: |
pnpm run scrape
git config user.name octagon-api
git config user.email weeklydeploy@octagon-api.com
git add -A
git commit -am "[BOT] Update Octagon API database"
git push origin ${{ github.ref_name }}
- run: echo "🎉 Task finished!"