mkdocs.yml 573 B

12345678910111213141516171819202122
  1. name: Publish docs via GitHub Pages
  2. on:
  3. push:
  4. branches:
  5. - main
  6. - dev
  7. jobs:
  8. build:
  9. name: Deploy docs
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout dev
  13. uses: actions/checkout@v2
  14. - name: Deploy docs
  15. uses: mhausenblas/mkdocs-deploy-gh-pages@master
  16. # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
  17. env:
  18. PERSONAL_TOKEN: ${{ secrets.MINERU_DOCS }}
  19. CONFIG_FILE: folder/mkdocs.yml
  20. REQUIREMENTS: folder/docs/requirements.txt