ci: added action in docs.yml to generate llms.txt

Signed-off-by: Selvam Palanimalai <selvam.palanimalai@gmail.com>
This commit is contained in:
Selvam Palanimalai 2025-01-07 13:32:51 -05:00
parent 42856fdf79
commit f4db1b8cce

View File

@ -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
run: poetry run mkdocs gh-deploy --force --dirty