[TASK] handle x plane sign, deativate bpm's per hand #53
Workflow file for this run
This file contains hidden or 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: Docs2Pages | |
| on: | |
| # push: | |
| # branches: [ "main" ] | |
| push: | |
| tags: '*' | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| **/pyproject.toml | |
| **/requirements*.txt | |
| - name: install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install poetry sphinx_rtd_theme | |
| if [ -f src/requirements.txt ]; then pip install -r src/requirements.txt; fi | |
| # need to add that? ... seems so | |
| pip install ./src | |
| - name: Build documentation | |
| run: | | |
| mkdir gh-pages | |
| touch gh-pages/.nojekyll | |
| cd src/doc/ | |
| poetry run sphinx-build -b html . _build | |
| cp -r _build/* ../../gh-pages/ | |
| - name: Deploy documentation | |
| if: ${{ github.event_name == 'push' }} | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: gh-pages |