docs.yml 585 B

1234567891011121314151617181920212223
  1. name: Packages Docs
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - develop
  7. jobs:
  8. build-test-deploy:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@v2
  13. - run: sudo apt-get install sphinx3-build
  14. - run: python3 -m pip install --upgrade pip
  15. - run: python3 -m pip install -r requirements.txt
  16. - run: python3 -m pip install sphinx_rtd_theme
  17. - run: cd docs && make html
  18. - name: Deploy
  19. uses: crazy-max/ghaction-github-pages@v1
  20. with:
  21. target_branch: gh-pages
  22. build_dir: build