-
Notifications
You must be signed in to change notification settings - Fork 20
44 lines (32 loc) Β· 979 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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