Skip to content

Ru documentation for automatic secondary indices usage #2189

Ru documentation for automatic secondary indices usage

Ru documentation for automatic secondary indices usage #2189

Workflow file for this run

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: Update integrated status
shell: bash
run: |
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"pending","description":"Waiting for relevant checks to complete","context":"checks_integrated"}'
- name: Checkout
uses: actions/checkout@v3
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"
- name: Update integrated status
shell: bash
run: |
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"success","description":"All checks completed","context":"checks_integrated"}'