-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (46 loc) · 1.31 KB
/
documentation.yaml
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
name: Docs
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libsndfile1-dev
pip install sphinx sphinx_rtd_theme numpydoc recommonmark
pip install mirdata
pip install scikit-learn
pip install configobj
pip install hmmlearn
pip install zope
pip install fastdtw
pip install matplotlib
pip install scipy
pip install essentia
pip install tensorflow
pip install tensorflow_addons
pip install torch
pip install ipython
pip install scikit-image
pip install seaborn
pip install opencv-python
pip install gdown
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
#if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true