2
0

docs.yml 519 B

12345678910111213141516171819202122232425
  1. name: API Docs
  2. on:
  3. push:
  4. branches: [main, master]
  5. pull_request:
  6. schedule:
  7. - cron: "0 6 * * *" # Daily 6AM UTC build
  8. jobs:
  9. test:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v4
  13. - name: Set up Python
  14. uses: actions/setup-python@v5
  15. with:
  16. python-version: "3.10"
  17. - name: Install pydoctor
  18. run: |
  19. sudo apt-get update && sudo apt -y install -y pydoctor python3-pip
  20. pip3 install pydoctor
  21. - name: Generate docs
  22. run: make apidocs