From 95b11fc5edc68dde8f063e9569a14b526001bb40 Mon Sep 17 00:00:00 2001 From: soyuka Date: Sat, 13 Jun 2026 16:11:44 +0200 Subject: [PATCH] ci: generate llms.txt during docs deploy Runs node tools/llms.mjs after the Hugo build and before the GCS rsync, so public/llms.txt and public/llms-full.txt ship with every docs deploy. The generator lives in api-platform/docs-website (#29). --- .github/workflows/cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a9127a3d145..2eabf974dcc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -82,6 +82,10 @@ jobs: working-directory: docs-website run: hugo --minify + - name: Generate llms.txt + working-directory: docs-website + run: node tools/llms.mjs + - name: Deploy working-directory: docs-website run: gsutil -q -m rsync -d -r ./public gs://api-platform-website-v3/