docs.yml 466 B

1234567891011121314151617181920212223
  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@v2
  12. - name: Set up Python
  13. uses: actions/setup-python@v2
  14. - name: Install pydoctor
  15. run: |
  16. sudo apt-get update && sudo apt -y install -y pydoctor python3-pip
  17. pip3 install pydoctor
  18. - name: Generate docs
  19. run: make apidocs