File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Expand file tree Collapse file tree 3 files changed +50
-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
+ - doc-builder*
8
+ - v*-release
9
+
10
+ jobs :
11
+ build :
12
+ uses : huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
13
+ with :
14
+ commit_sha : ${{ github.sha }}
15
+ package : lighteval
16
+ secrets :
17
+ token : ${{ secrets.HUGGINGFACE_PUSH }}
18
+ 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 : lighteval
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 : lighteval
14
+ secrets :
15
+ hf_token : ${{ secrets.HF_DOC_BUILD_PUSH }}
16
+ comment_bot_token : ${{ secrets.COMMENT_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments