aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs_build.yaml
blob: c97a415d0927ac0d73ec66340a0e6cb8fa7f6542 (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
25
name: Build documentation

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

jobs:
  build-docs:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Build
        uses: diplodoc-platform/docs-build-action@v1
        with:
          revision: "pr-${{ github.event.pull_request.number }}"
          project-name: ${{ secrets.DOCS_PROJECT_NAME }}
          src-root: ${{ vars.SRC_ROOT }}
          storage-bucket: ${{ secrets.DOCS_AWS_BUCKET }}
          storage-endpoint: ${{ vars.DOCS_AWS_ENDPOINT }}
          storage-access-key-id: ${{ secrets.DOCS_AWS_KEY_ID }}
          storage-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
          storage-region: ${{ vars.DOCS_AWS_REGION }}
          shared-storage-bucket: true