Skip to content

Scrape LNFS website #966

Scrape LNFS website

Scrape LNFS website #966

name: Scrape LNFS website
on:
workflow_dispatch:
schedule:
# At 21:30 from September to May on Sunday, Friday, and Saturday.
- cron: '30 21 * 9-12,1-5 0,5,6'
jobs:
build:
runs-on: ubuntu-22.04
steps:
# fetch-depth 1 is the default (last commit)
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 7.24.3
run_install: true
- run: |
pnpm run scrape
git config user.name futsal-bot
git add -A
git commit -m "[bot] ci(db): :card_file_box: Update LNFS database"
git push origin main