[bugfix] Fix the issue that will save the model card if push to hub is not applied in HiDream #30992
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build PR Documentation | |
| on: | |
| pull_request: | |
| paths: | |
| - "src/diffusers/**.py" | |
| - "examples/**" | |
| - "docs/**" | |
| 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 }} | |
| install_libgl1: true | |
| package: diffusers | |
| languages: en ko zh ja pt | |
| custom_container: diffusers/diffusers-doc-builder |