fix: add failure:ignore to docs build steps
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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 <noreply@anthropic.com>
This commit is contained in:
parent
2a25a161cb
commit
bcf9f28bb9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user