build-doc-site.yml 673 B

12345678910111213141516171819202122232425262728293031
  1. name: Build Docs
  2. on:
  3. push:
  4. branches: [master]
  5. jobs:
  6. doc-site:
  7. name: Build and deploy docs
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout 🛎️
  11. uses: actions/checkout@v2
  12. - name: Install Python 🐍
  13. uses: actions/setup-python@v2
  14. with:
  15. python-version: 3.8
  16. - name: Install Python dependencies 📦
  17. run: |
  18. pip install -r doc-requirements.txt
  19. - name: Build site 🕸
  20. run: |
  21. sphinx-build docs target/docs
  22. - name: Deploy 🚀
  23. uses: JamesIves/github-pages-deploy-action@4.1.0
  24. with:
  25. branch: gh-pages
  26. folder: target/docs
Tip!

Press p or to see the previous file or, n or to see the next file