Hyathi/Stem-Extractor
0
1name: documentation2 3on:4 push:5 tags:6 - 'v*.*.*'7 workflow_dispatch:8 9permissions:10 contents: write11 12jobs:13 docs:14 runs-on: ubuntu-latest15 steps:16 - uses: actions/checkout@v417 - uses: actions/setup-python@v318 with:19 python-version: 3.920 - name: Install dependencies21 run: |22 sudo apt-get install libsndfile1-dev23 pip install --upgrade pip24 pip install -r requirements.txt25 pip install --upgrade sphinx sphinx_rtd_theme myst-parser26 pip install --upgrade markdown-it-py[plugins]27 pip install --upgrade mdit-py-plugins28 29 - name: Sphinx build30 run: |31 cp README.md ./source/README.md32 cp LICENSE ./source/LICENSE33 cp -r Pictures ./source/Pictures34 sphinx-apidoc -o source scraibe/ 35 sphinx-build -M html source docs36 make html37 - name: Deploy to GitHub Pages38 uses: peaceiris/actions-gh-pages@v339 with:40 publish_branch: gh-pages41 github_token: ${{ secrets.TOKEN_GH }}42 publish_dir: ./docs/html43 force_orphan: true44 