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
|
event: push
|
||||||
|
|
||||||
# Build and push docs-nginx image (skipped if no docs build output)
|
# 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:
|
build-docs-image:
|
||||||
depends_on: [build-docs]
|
depends_on: [build-docs]
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
|
failure: ignore
|
||||||
settings:
|
settings:
|
||||||
registry: registry.threesix.ai
|
registry: registry.threesix.ai
|
||||||
repo: {{PROJECT_NAME}}-docs
|
repo: {{PROJECT_NAME}}-docs
|
||||||
@ -144,6 +146,7 @@ steps:
|
|||||||
deploy-docs:
|
deploy-docs:
|
||||||
image: bitnami/kubectl:latest
|
image: bitnami/kubectl:latest
|
||||||
depends_on: [build-docs-image]
|
depends_on: [build-docs-image]
|
||||||
|
failure: ignore
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
# Check if docs image exists by trying to describe the deployment
|
# Check if docs image exists by trying to describe the deployment
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user