Skip to content

setup jupyter book build #1

setup jupyter book build

setup jupyter book build #1

Workflow file for this run

# Job (3): Build and deploy docs
docs:
name: Build & deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Install deps
run: |
python3 -m pip install . -r requirements.txt
python3 -m pip install -r ./requirements-dev.txt
- name: Build book
run: |
jupyter-book build docs
# echo 'py-feat.org' > ./docs/_build/html/CNAME
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html