Skip to content

Commit

Permalink
Activate base environment when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amorehead committed May 24, 2024
1 parent d615d24 commit e8e3375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
mamba install -c conda-forge -n base -y openff-amber-ff-ports openff-forcefields openff-interchange openff-interchange-base openff-models openff-toolkit openff-toolkit-base openff-units openff-utilities openmm openmmforcefields && pip install -e . && pip install -r docs/.docs.requirements
- name: Sphinx build
run: |
rm -rf docs/build/ && sphinx-build docs/source/ docs/build/
conda activate base && rm -rf docs/build/ && sphinx-build docs/source/ docs/build/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit e8e3375

Please sign in to comment.