Fix UrlConversion Test - remove sensitivity to environment variables … #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build documentation | |
| on: | |
| workflow_dispatch: | |
| repository_dispatch: | |
| types: [doc-build] | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "README.md" | |
| - "packages/hub/README.md" | |
| - "packages/inference/README.md" | |
| - "packages/agents/README.md" | |
| - ".github/workflows/documentation.yml" | |
| jobs: | |
| build: | |
| uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
| with: | |
| commit_sha: ${{ github.sha }} | |
| package: huggingface.js | |
| path_to_docs: huggingface.js/docs | |
| additional_args: --not_python_module | |
| pre_command: npm install -g corepack@latest && corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start | |
| secrets: | |
| hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} |