Skip to content
Snippets Groups Projects
Commit 32041a1a authored by guiwitz's avatar guiwitz
Browse files

add jupyter-book

parent 29853578
No related branches found
No related tags found
No related merge requests found
name: deploy-book
# Only run this when the master branch changes
on: [workflow_dispatch]
#push:
# branches:
# - master
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install dependencies
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
# Install pip dependencies
- name: Install dependencies
run: |
$CONDA/bin/pip install pip -U
$CONDA/bin/pip install -r book/requirements.txt
# Build the book
- name: Build the book
run: |
$CONDA/bin/jupyter-book build .
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
# Book settings
title: Image processing with Python for beginners
author: Guillaume Witz
#logo: 'logo.png'
execute:
execute_notebooks: "off"
\ No newline at end of file
_toc.yml 0 → 100644
format: jb-book
root: Readme
chapters:
- file: 01-Python_essentials
- file: 02-Images_as_arrays
- file: 03-More_on_images
- file: 04-Thresholding
- file: 05-Filtering
- file: 06-Regions
- file: 07-Pipeline
- file: 08-Logical_flow
- file: Appendix_Functions
- file: Appendix_Structures
- file: Cheatsheet
- file: Demo
\ No newline at end of file
jupyter-book>=0.7.0b
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment