diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f11cd3b..00b3603 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -32,8 +32,6 @@ jobs: shell: bash -l {0} env: DESC: "Documentation build" - # conda-forge is required to install pydata-sphinx-theme and sphinx-copybutton. - CHANS_DEV: "-c nodefaults -c pyviz/label/dev -c bokeh -c conda-forge" MPLBACKEND: "Agg" DISPLAY: ":99.0" PYTHON_DOCS_VERSION: "3.9" @@ -50,14 +48,17 @@ jobs: id: vars run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: conda setup + # conda-forge is required to install pydata-sphinx-theme and sphinx-copybutton. run: | conda create -n test-environment conda activate test-environment - conda install ${{ env.CHANS_DEV}} python=${{ env.PYTHON_DOCS_VERSION}} pyctdev + conda config --env --append channels pyviz/label/dev --append channels conda-forge + conda config --env --remove channels defaults + conda install python=${{ env.PYTHON_DOCS_VERSION}} pyctdev - name: doit develop_install run: | conda activate test-environment - doit develop_install ${{ env.CHANS_DEV}} -o doc -o examples + doit develop_install -o doc -o examples - name: doit env_capture run: | conda activate test-environment