mms - parameter cbb size #172
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: docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| env: | |
| DOIT_NUM_PROCESS: 0 | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v2 | |
| - name: install ubuntu requirements | |
| run: | | |
| sudo apt update | |
| sudo apt install -q -y $(< requirements.github.ubuntu.txt) | |
| - name: install python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: "3.10" | |
| - name: install python requirements | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e '.[dev]' | |
| - name: doit docs | |
| run: doit docs | |
| - name: create CNAME | |
| if: github.repository == 'hat-open/hat-drivers' | |
| run: | | |
| echo "hat-drivers.hat-open.com" > build/docs/CNAME | |
| - name: deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./build/docs | |
| publish_branch: gh-pages | |
| force_orphan: true |