Import _build_current_repodata from conda_index instead of conda_build #1591
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: "sphinx docs check" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "install dependencies" | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
- name: "build docs" | |
shell: bash -l {0} | |
run: | | |
cd docs | |
make html SPHINXOPTS="-W" | |
- uses: actions/upload-artifact@v1 | |
name: "upload artifacts" | |
with: | |
name: DocumentationHTML | |
path: docs/build/html |