Skip to content

Drop cibuildwheel v1 and 3.5 tests (#325) #38

Drop cibuildwheel v1 and 3.5 tests (#325)

Drop cibuildwheel v1 and 3.5 tests (#325) #38

Workflow file for this run

name: deploy_docs
# todo: we want to build on PRs, but keep it from pushing to deploy...
on:
push:
branches:
- master
# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
build-docs:
name: Build docs
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/[email protected]
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install -r requirements.in
pip install .[all]
- name: Lint
# run: flake8 --ignore=E501 h3.py
run: flake8 src/h3
# Build the book
- name: Build the book
# turn off warningiserror just for https://github.com/uber/h3-py/pull/283
# jupyter-book build docs/ --warningiserror --keep-going --all
run: |
jupyter-book build docs/ --keep-going --all
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html