Skip to content

merge from parent

merge from parent #1

Workflow file for this run

# This workflow builds the documentation for the project using `poe` and `uv`.
# It is redundant with the Vercel Preview deployment, but is runs unprivileged and
# can be used on forks to verify the documentation build without deploying it.
name: Docusaurus
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
detect-changes:
name: Detect Changes
runs-on: ubuntu-24.04
steps:
# Checkout not required from `pull_request` event.
# The detection method uses the GitHub REST API.
- name: Detect Changes
id: detect-changes
uses: dorny/[email protected]
with:
filters: |
docs:
- 'docs/**'
- 'docusaurus/**'
- '.markdownlint.jsonc'
outputs:
# 'true' if any of the docs files have changed, 'false' otherwise.
changed: ${{ steps.detect-changes.outputs.docs }}
build-docs:
name: Build Airbyte Docs
runs-on: ubuntu-24.04
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'
steps:
- name: Checkout Current Branch
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up pnpm
# pnpm is used to manage the dependencies of the documentation build.
uses: pnpm/action-setup@v4
with:
version: 10.12.1
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install Poe
run: |
# Install Poe so we can run the connector tasks:
uv tool install poethepoet
- name: Build Docs
run: |
poe docs-build