Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / .github/workflows/update-llms-index.yml |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | .github/workflows/update-llms-index.yml |
| Original SHA-256 | ec9abcc7d47eb98f4e3e25c2a5d520e660bac49f3a43c7485d993bacd43d45bf |
| Git blob SHA | 2704f86b74f5180c994e24dbd4f4a5c04d91c7d0 |
| Reading-copy SHA-256 | ec9abcc7d47eb98f4e3e25c2a5d520e660bac49f3a43c7485d993bacd43d45bf |
Recovered source transcript
Download complete source text ↓48 lines · 1.3 KB
name: Update LLMs Index
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
workflow_dispatch: # Allow manual trigger
jobs:
update-index:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: "10.7.1"
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Generate LLMs Index
run: pnpm node scripts/llms-chatbot-index-generator.js
- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
# Only commit if there are changes
if [[ -n $(git status -s) ]]; then
git add apps/chatbot/public/llms-index.json
git add apps/chatbot/public/llms-cache/
git commit -m "chore: update llms.txt index [skip ci]"
git push
else
echo "No changes to commit"
fi