-
-
Notifications
You must be signed in to change notification settings - Fork 422
59 lines (54 loc) · 1.89 KB
/
docs-build.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: "📜 Documentation builder"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # To be able to push refs to destination repo
- name: Set up Python 🐍
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies 🏭
run: |
python -m pip install --upgrade pip
pip install sphinx-book-theme
pip install sphinxemoji
pip install sphinx-copybutton
pip install ipykernel==6.23.2
pip install ipython
pip install myst-parser
pip install myst-nb
pip install numpy==1.24.3
pip install pandas
pip install scipy
pip install scikit-learn
pip install matplotlib
pip install mne
pip install PyWavelets
pip install EMD-signal
pip install astropy
pip install seaborn
pip install EMD-signal
pip install cvxopt
pip install ts2vg
pip install pickleshare
pip install https://github.com/neuropsychology/neurokit/zipball/dev
- name: Build documentation 📜
run: |
cd docs
sphinx-build -b html . _build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build