From f4db1b8cce6188d5962b4b73c81b283806e89b39 Mon Sep 17 00:00:00 2001 From: Selvam Palanimalai Date: Tue, 7 Jan 2025 13:32:51 -0500 Subject: [PATCH] ci: added action in docs.yml to generate llms.txt 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..5eba4560 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@v1 - 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 +