You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
732 B

  1. name: Deploy the documentation
  2. on:
  3. push:
  4. branches:
  5. - develop
  6. workflow_dispatch:
  7. jobs:
  8. pages:
  9. name: GitHub Pages
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Setup mdbook
  14. uses: peaceiris/actions-mdbook@4b5ef36b314c2599664ca107bb8c02412548d79d # v1.1.14
  15. with:
  16. mdbook-version: '0.4.9'
  17. - name: Build the documentation
  18. run: mdbook build
  19. - name: Deploy latest documentation
  20. uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
  21. with:
  22. github_token: ${{ secrets.GITHUB_TOKEN }}
  23. keep_files: true
  24. publish_dir: ./book
  25. destination_dir: ./develop