Skip to content

Merge pull request #851 from nervosnetwork/develop #2

Merge pull request #851 from nervosnetwork/develop

Merge pull request #851 from nervosnetwork/develop #2

Workflow file for this run

name: llms-full
on:
push:
branches: [master]
paths:
- website/docs/**
- website/static/llms.txt
- scripts/generate-llms-full.js
permissions:
contents: write
jobs:
regenerate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Generate llms-full
run: node scripts/generate-llms-full.js
- name: Commit llms-full
run: |
if git diff --quiet -- website/static/llms-full.txt; then
echo "llms-full.txt is already up to date"
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add website/static/llms-full.txt
git commit -m "docs: update llms-full"
git push origin master