0.2.6 #764
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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 |