Skip to content

Merge remote-tracking branch 'origin/main' #101

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #101

name: Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PyTorch without CUDA
run: pip install torch==1.13.1+cpu torchvision==0.14.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Check pytorch is installed
run: "python -c 'import torch; print(torch.cuda.is_available())'"
- name: Install requirements
run: |
python -m pip install .
- name: Install OpenMM libraries
run: mim install "mmcv==2.0.1"
- name: Build Documentation
run: cd docs && make html
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html