mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-25 11:34:31 +00:00
* ci: added action in docs.yml to generate llms.txt Signed-off-by: Selvam Palanimalai <selvam.palanimalai@gmail.com> * ci: pinning llms-txt action version as per PR feedback Signed-off-by: Selvam Palanimalai <selvam.palanimalai@gmail.com> --------- Signed-off-by: Selvam Palanimalai <selvam.palanimalai@gmail.com>
24 lines
696 B
YAML
24 lines
696 B
YAML
on:
|
|
workflow_call:
|
|
inputs:
|
|
deploy:
|
|
type: boolean
|
|
description: "If true, the docs will be deployed."
|
|
default: false
|
|
|
|
jobs:
|
|
run-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- 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 --dirty
|
|
|