Merge pull request #282 from MolSSI-BSE/mtzvp_fix #28
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 Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # needed for tag/version | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install package | |
shell: bash -l {0} | |
run: | | |
python -m pip install .[docs] | |
- name: Build Documentation | |
working-directory: ./docs | |
run: | | |
make html | |
- name: Deploy on gh-pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: docs/build/html |