Skip to content

refactor(app) added workflows #25

refactor(app) added workflows

refactor(app) added workflows #25

Workflow file for this run

name: "📕Deploy docs to GitHub Pages"
on:
push:
branches: [ main,dev ]
workflow_dispatch:
jobs:
build-and-deploy-book:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ 3.9 ]
steps:
- name: "Check out repository"
uses: actions/checkout@v2
- name: "Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: "Install dependencies"
run: pip install -r requirements.txt
- name: "Build the book"
run: jupyter-book build docs
- name: "GitHub Pages action"
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html