docs.yml 589 B

1234567891011121314151617181920212223242526
  1. name: Wagtail Docs
  2. on:
  3. push:
  4. pull_request:
  5. jobs:
  6. build-docs:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - name: Set up Python 3.8
  11. uses: actions/setup-python@v2
  12. with:
  13. python-version: 3.8
  14. - name: Install dependencies
  15. run: |
  16. python -m pip install --upgrade pip
  17. pip install -e .[docs]
  18. - name: Make the docs
  19. run: cd docs && make json
  20. - name: Upload the docs
  21. uses: actions/upload-artifact@v2
  22. with:
  23. name: jsondocs
  24. path: docs/_build/json