Skip to content

Ensure we assign record with with syntax to ensure we do not update shared instances of repository #1899

Ensure we assign record with with syntax to ensure we do not update shared instances of repository

Ensure we assign record with with syntax to ensure we do not update shared instances of repository #1899

Workflow file for this run

name: smoke-tests
on:
pull_request: ~
jobs:
build:
runs-on: ubuntu-latest
name: build (${{ matrix.repository }})
strategy:
fail-fast: false
matrix:
include:
- repository: elastic/docs-content
landing-page-path-output: /docs/
- repository: elastic/elasticsearch
landing-page-path-output: /docs/reference/
- repository: elastic/opentelemetry
landing-page-path-output: /docs/reference/
# This is a random repository that should not have a docset.yml
- repository: elastic/oblt-actions
landing-page-path-output: ""
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
uses: ./.github/actions/bootstrap
- uses: actions/checkout@v4
with:
repository: ${{ matrix.repository }}
path: test-repo
- name: Build documentation
id: docs-build
run: |
dotnet run --project src/tooling/docs-builder -- --strict --path-prefix "/docs" -p test-repo
- name: Verify landing-page-path output
run: test ${{ steps.docs-build.outputs.landing-page-path }} == ${{ matrix.landing-page-path-output }}
- name: Verify link validation
run: |
dotnet run --project src/tooling/docs-builder -- inbound-links validate-link-reference -p test-repo