Skip to content

Commit 32b0736

Browse files
author
Mishig
authored
Update pr docs actions (#1194)
1 parent 614c182 commit 32b0736

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build_pr_documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ 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 }}
1616
package: diffusers
17+
secrets:
18+
token: ${{ secrets.HF_DOC_PUSH }}
19+
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

.github/workflows/delete_doc_comment.yml

Lines changed: 4 additions & 1 deletion
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 }}
1313
package: diffusers
14+
secrets:
15+
token: ${{ secrets.HF_DOC_PUSH }}
16+
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

0 commit comments

Comments
 (0)