Update pull_request.yml #2391
Workflow file for this run
This file contains 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: Pull Request Docs Check | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: C2SM/sphinx-action@sphinx-latest | |
with: | |
pre-build-command: "pip install sphinx_rtd_theme && pip install sphinx-copybutton" | |
build-command: "sphinx-build -b html . _build" | |
docs-folder: "docs/" | |
# Great extra actions to compose with: | |
# Create an artifact of the html output. | |
- uses: actions/[email protected] | |
with: | |
name: DocumentationHTML | |
path: docs/_build/ |