From bcf9f28bb9c3cbf4f581ab9c35db0614f94cfa6a Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 7 Feb 2026 18:26:00 -0700 Subject: [PATCH] fix: add failure:ignore to docs build steps When docs infrastructure doesn't exist, the docs build steps should gracefully skip without failing the entire pipeline. Co-Authored-By: Claude Opus 4.5 --- .../adapter/templates/templates/skeleton/.woodpecker.yml.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl b/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl index 9d44cd5..28d8205 100644 --- a/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl +++ b/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl @@ -123,9 +123,11 @@ steps: event: push # Build and push docs-nginx image (skipped if no docs build output) + # failure: ignore allows pipeline to continue if docs weren't built build-docs-image: depends_on: [build-docs] image: woodpeckerci/plugin-kaniko + failure: ignore settings: registry: registry.threesix.ai repo: {{PROJECT_NAME}}-docs @@ -144,6 +146,7 @@ steps: deploy-docs: image: bitnami/kubectl:latest depends_on: [build-docs-image] + failure: ignore commands: - | # Check if docs image exists by trying to describe the deployment