Bump version to 1.7.0 #154
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: Update Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies 🔧 | |
run: | | |
python --version | |
python -m pip install --upgrade pip | |
pip install --quiet pdoc3 tensorflow torch jax jaxlib matplotlib "nbformat==5.4.0" ipython notebook ipywidgets | |
pip install . | |
pip list | |
- name: Build API with pdoc3 | |
run: pdoc --html --output-dir docs --force phiml | |
- name: Build static HTML for Jupyter Notebooks | |
run: | | |
jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@4.1.4 # See https://github.com/marketplace/actions/deploy-to-github-pages | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. |