Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/rw_release_staging_complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ jobs:
docs-preview:
uses: ./.github/workflows/rw_docusaurus_operations.yaml
needs: [config, compute-version]
# Skip the Docusaurus preview deploy when intent.yaml sets
# `artifacts.docs: skip` β€” projects using MkDocs (or any non-Docusaurus
# docs system) have no `docs/package.json` to install from.
if: needs.config.outputs.docs != 'skip'
with:
package-name: ${{ inputs.package-name }}
operation: 'deploy-preview'
Expand Down Expand Up @@ -249,7 +253,7 @@ jobs:
# Validate results based on whether Docker processes were expected
VERSION_OK="${{ needs.compute-version.result == 'success' }}"
PYPI_OK="${{ needs.pypi-test.result == 'success' }}"
DOCS_OK="${{ needs.docs-preview.result == 'success' }}"
DOCS_OK="${{ needs.docs-preview.result == 'success' || needs.docs-preview.result == 'skipped' }}"

if [ "$HAS_DOCKERFILE" = "true" ]; then
# Docker processes should have run - validate them
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/rw_release_validation_complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ jobs:
docs-build:
uses: ./.github/workflows/rw_docusaurus_operations.yaml
needs: [config, intent-parse]
# Skip the Docusaurus test invocation when intent.yaml sets
# `artifacts.docs: skip` β€” projects using MkDocs (or any non-Docusaurus
# docs system) declare this so the validation pipeline doesn't try to
# `pnpm install` in a Markdown-only `docs/` tree.
if: needs.intent-parse.outputs.docs != 'skip'
with:
package-name: ${{ inputs.package-name }}
operation: 'test'
Expand Down Expand Up @@ -216,7 +221,7 @@ jobs:
# Validate results based on whether Docker processes were expected
INTENT_OK="${{ needs.intent-parse.result == 'success' }}"
PYTHON_OK="${{ needs.python-build-check.result == 'success' }}"
DOCS_OK="${{ needs.docs-build.result == 'success' }}"
DOCS_OK="${{ needs.docs-build.result == 'success' || needs.docs-build.result == 'skipped' }}"

if [ "$HAS_DOCKERFILE" = "true" ]; then
# Docker processes should have run - validate them
Expand Down
Loading