Skip to content

Commit cc80d68

Browse files
committed
update CI config
1 parent 46de7dc commit cc80d68

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/build_pr_documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
commit_sha: ${{ github.event.pull_request.head.sha }}
1515
pr_number: ${{ github.event.number }}
1616
package: mcp-course
17-
path_to_docs: units
17+
package_name: mcp-course
18+
path_to_docs: mcp-course/units/
1819
additional_args: --not_python_module
1920
languages: en
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Upload PR Documentation
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Build PR Documentation"]
6+
types:
7+
- completed
8+
9+
permissions:
10+
actions: write
11+
contents: write
12+
deployments: write
13+
pull-requests: write
14+
15+
16+
jobs:
17+
build:
18+
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
19+
with:
20+
package_name: mcp-course
21+
hub_base_path: https://moon-ci-docs.huggingface.co/learn
22+
secrets:
23+
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
24+
comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}

0 commit comments

Comments
 (0)