on-broken-links

This commit is contained in:
2026-06-13 21:38:07 +03:00
parent f6e7624fb8
commit 243ea13567
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -5,6 +5,9 @@ inputs:
docs-path:
description: 'Path to docs directory in calling repo'
default: 'docs'
on-broken-links:
description: 'Behavior on broken links: throw, warn, or ignore'
default: 'throw'
runs:
using: 'composite'
@@ -56,6 +59,8 @@ runs:
- name: Build docs
shell: bash
working-directory: ${{ github.action_path }}/docusaurus
env:
DOCUSERVIX_ON_BROKEN_LINKS: ${{ inputs.on-broken-links }}
run: yarn docusaurus build --out-dir ${{ github.workspace }}/generated-docs
- name: Upload to S3