Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

ci(assembler): guard deploy job against transitive occt-base skip

Sidwebworks85400f84fb83
diff --git a/.github/workflows/assembler.yml b/.github/workflows/assembler.yml
index 78428d93a6..8d12769353 100644
--- a/.github/workflows/assembler.yml
+++ b/.github/workflows/assembler.yml
@@ -184,9 +184,11 @@ jobs:
# api key, cert, domain) comes from the workspaces row — no per-value secrets.
deploy:
name: Deploy assembler
- # A custom `if` replaces the implicit success() — keep the explicit result
- # check so a failed image build never deploys.
- if: ${{ needs.build.result == 'success' && (github.event_name == 'push' || inputs.deploy) }}
+ # `!cancelled()` is required: occt-base is skipped on a normal deploy, and
+ # that skip propagates down the needs-chain — without this guard GitHub
+ # skips deploy too (build escapes the same way). The explicit
+ # build.result check still blocks a deploy after a failed image build.
+ if: ${{ !cancelled() && needs.build.result == 'success' && (github.event_name == 'push' || inputs.deploy) }}
needs: build
runs-on: ubuntu-latest
env: