From 2c10f2c428d0ca35abd5ed05b70331d182fc4f7e Mon Sep 17 00:00:00 2001 From: Wauplin Date: Mon, 25 Mar 2024 18:18:45 +0100 Subject: [PATCH 1/3] Test disabling transformers containers in docs CI --- .github/workflows/build_documentation.yml | 1 + .github/workflows/build_pr_documentation.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 953ea3e4e..08120471e 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -16,5 +16,6 @@ jobs: package_name: hub path_to_docs: hub-docs/docs/hub/ additional_args: --not_python_module + custom_container: "" # no need for transformer's docker image secrets: hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 8802f4acc..ad177463b 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -19,4 +19,5 @@ jobs: package_name: hub path_to_docs: hub-docs/docs/hub/ additional_args: --not_python_module + custom_container: "" # no need for transformer's docker image From bf2a95c40eaa5f6cba1d612a351015444cd43d35 Mon Sep 17 00:00:00 2001 From: Wauplin Date: Wed, 27 Mar 2024 16:56:30 +0100 Subject: [PATCH 2/3] test --- .github/workflows/build_pr_documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index ad177463b..9e0e2bc88 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - "docs/hub/**" + - ".github/workflows/build_pr_documentation.yml" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -11,7 +12,7 @@ concurrency: jobs: build: - uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main + uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@test-install-deps-with-uv with: commit_sha: ${{ github.event.pull_request.head.sha }} pr_number: ${{ github.event.number }} @@ -19,5 +20,4 @@ jobs: package_name: hub path_to_docs: hub-docs/docs/hub/ additional_args: --not_python_module - custom_container: "" # no need for transformer's docker image From 530f928b84188fd65dc08e9959855a5b084d538e Mon Sep 17 00:00:00 2001 From: Wauplin Date: Wed, 27 Mar 2024 17:10:17 +0100 Subject: [PATCH 3/3] trigger --- .github/workflows/build_pr_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 9e0e2bc88..9b0449bd1 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -3,8 +3,8 @@ name: Build PR Documentation on: pull_request: paths: - - "docs/hub/**" - ".github/workflows/build_pr_documentation.yml" + - "docs/hub/**" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}