on-broken-links
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user