File tree 3 files changed +56
-0
lines changed
3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ uses : huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
11
+ with :
12
+ commit_sha : ${{ github.sha }}
13
+ package : diffusion-models-class
14
+ package_name : diffusion-course
15
+ path_to_docs : diffusion-models-class/
16
+ additional_args : --not_python_module
17
+ convert_notebooks : true
18
+ secrets :
19
+ hf_token : ${{ secrets.HF_DOC_BUILD_PUSH }}
Original file line number Diff line number Diff line change
1
+ name : Build PR Documentation
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ concurrency :
7
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8
+ cancel-in-progress : true
9
+
10
+ jobs :
11
+ build :
12
+ uses : huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
13
+ with :
14
+ commit_sha : ${{ github.event.pull_request.head.sha }}
15
+ pr_number : ${{ github.event.number }}
16
+ package : diffusion-models-class
17
+ package_name : diffusion-course
18
+ path_to_docs : diffusion-models-class/
19
+ additional_args : --not_python_module
20
+ convert_notebooks : true
Original file line number Diff line number Diff line change
1
+ name : Upload PR Documentation
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows : ["Build PR Documentation"]
6
+ types :
7
+ - completed
8
+
9
+ jobs :
10
+ build :
11
+ uses : huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
12
+ with :
13
+ package_name : diffusion-course
14
+ hub_base_path : https://moon-ci-docs.huggingface.co/learn
15
+ secrets :
16
+ hf_token : ${{ secrets.HF_DOC_BUILD_PUSH }}
17
+ comment_bot_token : ${{ secrets.COMMENT_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments