Use templates (#16142)

* Use tempaltes for all doc building jobs

* Add this branch to the doc build

* Switch to main branch
This commit is contained in:
Sylvain Gugger
2022-03-15 08:07:56 -04:00
committed by GitHub
parent daa4944759
commit 8bfd2fb8f0
5 changed files with 38 additions and 298 deletions

View File

@@ -0,0 +1,16 @@
name: Build PR Documentation
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
with:
commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }}
package: transformers