Scrape LNFS website #966
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |