]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Change doc-builder workflow container (#508)
authorMishig <dmishig@gmail.com>
Mon, 29 Jul 2024 10:17:45 +0000 (12:17 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jul 2024 10:17:45 +0000 (12:17 +0200)
* Change doc-builder workflow container

* trigger the action

.github/workflows/build_documentation.yml
.github/workflows/build_pr_documentation.yml

index e69506fd46d750785046576e5b3bb7b3c2371990..8b5019424de3b8131e6118c3b5f808035c36a4b5 100644 (file)
@@ -18,6 +18,7 @@ jobs:
       package_path: safetensors/bindings/python/
       version_tag_suffix: bindings/python/py_src/
       install_rust: true
+      custom_container: huggingface/transformers-doc-builder
     secrets:
       token: ${{ secrets.HUGGINGFACE_PUSH }}
       hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
index d9f5881292d045a9de44dcb8ef5b379c9cafc53f..efafcd489da05939613146e734d8c2fa9595b033 100644 (file)
@@ -5,6 +5,7 @@ on:
     paths:
       - "docs/**"
       - "bindings/python/py_src/**"
+      - ".github/workflows/build_pr_documentation.yml"
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -20,3 +21,4 @@ jobs:
       package_path: safetensors/bindings/python/
       version_tag_suffix: bindings/python/py_src/
       install_rust: true
+      custom_container: huggingface/transformers-doc-builder