printer: accurate line-printer mechanical test (PER->PRT + faithful d… #24
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: Deploy docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Keyless: push the built site to the gh-pages branch with the built-in | |
| # GITHUB_TOKEN. No Personal Access Token, and no repo-settings change needed | |
| # for this job to pass. (To actually serve it, point Settings -> Pages at the | |
| # gh-pages branch.) | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Doxygen documentation | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y doxygen | |
| cd docs | |
| doxygen | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/html |