Skip to content

Commit 44f77be

Browse files
authored
Update pr docs actions (#369)
1 parent d12ccdb commit 44f77be

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/build_pr_documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99

1010
jobs:
1111
build:
12-
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
12+
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@use_hf_hub
1313
with:
1414
commit_sha: ${{ github.event.pull_request.head.sha }}
1515
pr_number: ${{ github.event.number }}
@@ -18,3 +18,6 @@ jobs:
1818
additional_args: --not_python_module
1919
languages: ar bn de en es fa fr gj he hi id it ja ko pt ru th tr vi zh-CN zh-TW
2020
hub_base_path: https://moon-ci-docs.huggingface.co
21+
secrets:
22+
token: ${{ secrets.HF_DOC_PUSH }}
23+
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

.github/workflows/delete_doc_comment.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77

88
jobs:
99
delete:
10-
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
10+
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@use_hf_hub
1111
with:
1212
pr_number: ${{ github.event.number }}
13-
package: course
13+
package: course
14+
secrets:
15+
token: ${{ secrets.HF_DOC_PUSH }}
16+
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

0 commit comments

Comments
 (0)