Skip to content

Pin huggingface-hub <1.0.0 to fix failed to build tokenizers (#1844) #327

Pin huggingface-hub <1.0.0 to fix failed to build tokenizers (#1844)

Pin huggingface-hub <1.0.0 to fix failed to build tokenizers (#1844) #327

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@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 }}