This repository was archived by the owner on Jan 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,10 +52,12 @@ jobs:
5252
5353 - name : Make documentation
5454 shell : bash
55+ env :
56+ HF_DOC_BUILD_PUSH : ${{ secrets.HF_DOC_BUILD_PUSH }}
5557 run : |
5658 doc-builder notebook-to-mdx examples/ --output_dir docs/source/howto/ --open_notebook_prefix https://colab.research.google.com/github/huggingface/optimum-tpu/blob/main
5759 python docs/scripts/auto-generate-examples.py
5860 doc-builder build optimum.tpu docs/source/ --repo_name optimum-tpu --build_dir tpu-doc-build/ --version ${{ env.VERSION }} --version_tag_suffix "" --html --clean
5961 cd tpu-doc-build/
6062 mv optimum.tpu optimum-tpu
61- doc-builder push optimum-tpu --doc_build_repo_id "hf-doc-build/doc-build" --token "${{ secrets. HF_DOC_BUILD_PUSH }} " --commit_msg "Updated with commit $COMMIT_SHA See: https://github.com/huggingface/optimum-tpu/commit/$COMMIT_SHA" --n_retries 5
63+ doc-builder push optimum-tpu --doc_build_repo_id "hf-doc-build/doc-build" --token "$HF_DOC_BUILD_PUSH" --commit_msg "Updated with commit $COMMIT_SHA See: https://github.com/huggingface/optimum-tpu/commit/$COMMIT_SHA" --n_retries 5
You can’t perform that action at this time.
0 commit comments