Skip to content

Commit aceb39f

Browse files
author
Mishig
authored
Update github pr docs actions
1 parent e706514 commit aceb39f

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,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: datasets
17+
secrets:
18+
token: ${{ secrets.HF_DOC_PUSH }}
19+
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: datasets
13+
package: datasets
14+
secrets:
15+
token: ${{ secrets.HF_DOC_PUSH }}
16+
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

0 commit comments

Comments
 (0)