docs.yml 513 B

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