docs.yml 610 B

1234567891011121314151617181920212223242526
  1. name: Documentation on github.io
  2. on:
  3. push:
  4. branches: [ master ]
  5. jobs:
  6. build-documentation:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: checkout
  10. uses: actions/checkout@v4
  11. - name: apt-update
  12. run: sudo apt-get update -qq
  13. - name: apt-get doxygen
  14. run: sudo apt-get install -y doxygen
  15. - name: build doc
  16. run: make docs
  17. - name: deploy
  18. uses: peaceiris/actions-gh-pages@v4
  19. with:
  20. github_token: ${{ secrets.GITHUB_TOKEN }}
  21. publish_dir: ./doc/html/
  22. enable_jekyll: false
  23. allow_empty_commit: false
  24. force_orphan: true