Skip to content

Create patches.json #16814

Create patches.json

Create patches.json #16814

Workflow file for this run

name: Create patches.json
on:
schedule:
- cron: '0 * * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- run: npm install
- name: Create patches.json
run: node scrape.mjs
- name: Add & Commit
uses: EndBug/[email protected]
with:
add: 'public/patches/pocket.js'