Skip to content

deployment

deployment #133

Workflow file for this run

name: deployment
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: Upgrading pip
run: pip install --upgrade pip
- name: Installing dependencies
run: pip install markupsafe==2.0.1 numpy cython
- name: Installing package
run: pip install -e .
- name: Installing Jupyter book
run: pip install -U jupyter-book
- name: Printing log
run: git status
- name: Printing shortlog
run: git log | git shortlog -sn
- name: Build Jupyter book
run: |
jupyter-book clean ./docs
jupyter-book build ./docs
- name: Deploy book to GitHub pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html