bump deps #258
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: [ main ] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pandoc | |
run: | | |
sudo apt-get -y install pandoc | |
- name: Set up Python | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip cryptography | |
pip install wheel numpy Cython | |
pip install biom-format | |
pip install -e . | |
pip install "sphinx>=6.0" "nbsphinx>=0.9.0" furo sphinx-autoapi recommonmark | |
- name: Build docs | |
run: | | |
cp NEWS.md docs/source | |
cd docs && make html | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |