aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs_build.yaml
blob: 63f6a00e8c393dc233b7f8cf5eaf52e0ff9f4ed4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Build documentation

on:
  pull_request:
    paths: 
    - 'ydb/docs/**'

jobs:
  build-docs:
    concurrency:
      group: docs-build-${{ github.ref }}
      cancel-in-progress: true
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Build
        uses: diplodoc-platform/docs-build-action@v3
        with:
          revision: "pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}"
          src-root: "./ydb/docs"