Add docbuilder github actions

This commit is contained in:
Mishig Davaadorj
2022-12-01 09:36:25 +01:00
parent bce7454003
commit fb10189ca8
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
name: Build PR Documentation
on:
pull_request:
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 }}
package: deep-rl-class
path_to_docs: deep-rl-class/units/
additional_args: --not_python_module
languages: en
hub_base_path: https://moon-ci-docs.huggingface.co

View File

@@ -0,0 +1,13 @@
name: Delete dev documentation
on:
pull_request:
types: [ closed ]
jobs:
delete:
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
with:
pr_number: ${{ github.event.number }}
package: deep-rl-class