Bcm2835 spi clock divider #44
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: Doxygen GH | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build-documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache pip | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
| restore-keys: ${{ runner.os }}-pip- | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Install doxygen | |
| run: | | |
| sudo apt-get install -y doxygen | |
| sudo apt-get install -y graphviz | |
| - name: Run doxygen | |
| run: | | |
| git clone https://github.com/Infineon/InfineonDoxyGenerator.git | |
| cd InfineonDoxyGenerator | |
| python doxyifx.py html | |
| #python doxyifx.py release ${{ secrets.GH_USER }} ${{ secrets.GITHUB_TOKEN }} | |
| - name: GH Pages Deployment | |
| uses: peaceiris/actions-gh-pages@v4 | |
| if: success() | |
| with: | |
| publish_dir: ./docs/doxygen/build/html/ | |
| enable_jekyll: false | |
| allow_empty_commit: false | |
| force_orphan: true | |
| publish_branch: gh-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |