docs_build.yaml 612 B

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