From e4c7210133ea9b5576096489c5e80b3c3aeee073 Mon Sep 17 00:00:00 2001 From: Selvam Palanimalai Date: Mon, 20 Jan 2025 03:52:27 -0500 Subject: [PATCH] ci: added action to generate llms.txt (#701) * ci: added action in docs.yml to generate llms.txt Signed-off-by: Selvam Palanimalai * ci: pinning llms-txt action version as per PR feedback Signed-off-by: Selvam Palanimalai --------- Signed-off-by: Selvam Palanimalai --- .github/workflows/docs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2733b522..0fc3ac7a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,10 @@ jobs: - uses: ./.github/actions/setup-poetry - name: Build docs run: poetry run mkdocs build --verbose --clean + - name: Make docs LLM ready + if: inputs.deploy + uses: demodrive-ai/llms-txt-action@ad720693843126e6a73910a667d0eba37c1dea4b - name: Build and push docs if: inputs.deploy - run: poetry run mkdocs gh-deploy --force - \ No newline at end of file + run: poetry run mkdocs gh-deploy --force --dirty +