docs_build.yaml 512 B

123456789101112131415161718192021
  1. name: Build documentation
  2. on:
  3. pull_request:
  4. paths:
  5. - 'ydb/docs/**'
  6. jobs:
  7. build-docs:
  8. concurrency:
  9. group: docs-build-${{ github.ref }}
  10. cancel-in-progress: true
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout
  14. uses: actions/checkout@v3
  15. - name: Build
  16. uses: diplodoc-platform/docs-build-action@v3
  17. with:
  18. revision: "pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}"
  19. src-root: "./ydb/docs"