smolagents-audit/.github/workflows/build_documentation.yml
Pauline Bailly-Masson 96f33faaf0
Bump doc-builder workflow pin (#2906)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-06 11:38:53 +02:00

27 lines
No EOL
739 B
YAML

name: Build documentation
on:
push:
branches:
- main
- doc-builder*
- v*-release
- use_templates
paths:
- 'docs/source/**'
- 'assets/**'
- '.github/workflows/doc-build.yml'
- 'pyproject.toml'
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@9fc8a41d7729c424fdb2192f2f85ff63102ec9a3 # main
with:
commit_sha: ${{ github.sha }}
package: smolagents
languages: en hi ko zh
notebook_folder: smolagents_doc
# additional_args: --not_python_module # use this arg if repository is documentation only
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}