Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 #203

Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8

Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 #203

Workflow file for this run

name: book
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
paths:
- docs/**
jobs:
booking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install ".[dev]"
pip install jupyter-book ghp-import
- name: Build the book
run: |
jupyter-book build docs
- if: ${{ github.event_name == 'push' }}
name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html