Skip to content

Commit ca3476b

Browse files
fix
1 parent 35fe764 commit ca3476b

File tree

2 files changed

+14
-30
lines changed

2 files changed

+14
-30
lines changed

.github/workflows/build_documentation.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
name: Upload PR Documentation
1+
name: Build documentation
22

33
on:
4-
workflow_run:
5-
workflows: ["Build PR Documentation"]
6-
types:
7-
- completed
4+
push:
5+
branches:
6+
- main
7+
- doc-builder*
8+
- v*-release
9+
- v*-patch
810

911
jobs:
10-
build:
11-
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
12+
build:
13+
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
1214
with:
13-
package_name: diffusers
15+
commit_sha: ${{ github.sha }}
16+
package: diffusers
17+
notebook_folder: diffusers_doc
18+
languages: en ko zh
1419
secrets:
20+
token: ${{ secrets.HUGGINGFACE_PUSH }}
1521
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
16-
comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}

.github/workflows/build_documentation.yml.1

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)