Skip to content

build: Re-enable JIT when calculating code coverage, since no-JIT see… #334

build: Re-enable JIT when calculating code coverage, since no-JIT see…

build: Re-enable JIT when calculating code coverage, since no-JIT see… #334

Workflow file for this run

name: Deploy Documentation
on:
workflow_dispatch:
push:
branches:
- dev
jobs:
deploy-docs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies (conda)
run: |
pip install -e .[docs,interactive]
# Build the documentation
- name: Build the documentation
run: |
cd docs
make html
# Push the documentation's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
cname: porespy.org