Skip to content

Collect Plugins Data #1112

Collect Plugins Data

Collect Plugins Data #1112

name: 'Collect Plugins Data'
on:
schedule:
- cron: '30 00 * * *'
workflow_dispatch:
jobs:
build:
name: 'Collect Plugins Data'
runs-on: ubuntu-latest
steps:
- name: check out
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 1
- name: setup node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: latest
cache: 'npm'
- name: collect
run: |
npm install
npm run plugins-directory npm-data
npm run plugins-directory pages
- name: save
run: |
# Git config
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit --allow-empty -m "collect plugins data"
git push --set-upstream origin main