Revert "Update pr docs actions (#1101)"

This reverts commit 99c06c82e0.
This commit is contained in:
Mishig
2022-11-16 11:41:38 +01:00
committed by GitHub
parent bbae829a72
commit ffcf5a4136
2 changed files with 3 additions and 9 deletions

View File

@ -9,7 +9,7 @@ concurrency:
jobs: jobs:
build: build:
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@use_hf_hub uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
with: with:
commit_sha: ${{ github.event.pull_request.head.sha }} commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }} pr_number: ${{ github.event.number }}
@ -17,6 +17,3 @@ jobs:
path_to_docs: tokenizers/docs/source-doc-builder/ path_to_docs: tokenizers/docs/source-doc-builder/
package_path: tokenizers/bindings/python/ package_path: tokenizers/bindings/python/
install_rust: true install_rust: true
secrets:
token: ${{ secrets.HF_DOC_PUSH }}
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

View File

@ -7,10 +7,7 @@ on:
jobs: jobs:
delete: delete:
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@use_hf_hub uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
with: with:
pr_number: ${{ github.event.number }} pr_number: ${{ github.event.number }}
package: tokenizers package: tokenizers
secrets:
token: ${{ secrets.HF_DOC_PUSH }}
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}