docs.yml 536 B

12345678910111213141516171819202122
  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 python3-sphinx
  14. - run: python3 -m pip install -r requirements.txt
  15. - run: python3 -m pip install sphinx_rtd_theme
  16. - run: cd docs && make html
  17. - name: Deploy
  18. uses: crazy-max/ghaction-github-pages@v1
  19. with:
  20. target_branch: gh-pages
  21. build_dir: build