chages determinant imposition algorithm #51
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: Build and Deploy Documentation | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.12.2 | |
environment-file: environment.yml | |
activate-environment: HSR_devel | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
conda install -c conda-forge rdkit | |
- name: List installed packages | |
shell: bash -l {0} | |
run: | | |
conda list | |
- name: Build Sphinx Documentation | |
shell: bash -l {0} | |
run: | | |
sphinx-build -b html ./docs/source ./docs/build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
#if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
with: | |
publish_branch: gh-pages | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build | |
force_orphan: true |