docs.yml 411 B

123456789101112131415161718192021
  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: sudo apt-get update && sudo apt-get install -y pydoctor
  16. - name: Generate docs
  17. run: make apidocs