[doc build] Use secrets

This commit is contained in:
Mishig
2023-06-09 11:01:19 +02:00
committed by GitHub
parent afb0e89b4a
commit f0d4caab95
4 changed files with 36 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
name: Upload PR Documentation
on:
workflow_run:
workflows: ["Build PR Documentation"]
types:
- completed
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
with:
package_name: deep-rl-course
hub_base_path: https://moon-ci-docs.huggingface.co
secrets:
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}