Update pr docs actions

pull/1538/head
Mishig 3 years ago committed by GitHub
parent 4714a4910e
commit d4ed3e6181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ concurrency:
jobs: jobs:
build: build:
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@use_hf_hub
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,3 +17,6 @@ jobs:
package_name: timm package_name: timm
repo_owner: rwightman repo_owner: rwightman
path_to_docs: pytorch-image-models/hfdocs/source path_to_docs: pytorch-image-models/hfdocs/source
secrets:
token: ${{ secrets.HF_DOC_PUSH }}
comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }}

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

Loading…
Cancel
Save