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

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

jobs:
  build-docs:
    concurrency:
      group: docs-build-${{ github.event.pull_request.number }}
      cancel-in-progress: true
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - 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"
          cli-version: stable