mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ci: fix deploy-aws skipped due to upstream always() propagation
When build-site uses always() in its if condition, the skipped status from its upstream dependencies propagates to deploy-aws which lacks always(). Add always() with explicit success checks to ensure deploy runs when both metadata-regen and build-site succeed. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
parent
36b5e1e1bb
commit
8bb1e44c10
6
.github/workflows/docs-orchestrator.yml
vendored
6
.github/workflows/docs-orchestrator.yml
vendored
@ -376,8 +376,12 @@ jobs:
|
||||
# =============================================================================
|
||||
deploy-aws:
|
||||
name: "T4: Deploy"
|
||||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||
needs: [metadata-regen, build-site]
|
||||
if: >-
|
||||
always() &&
|
||||
needs.metadata-regen.result == 'success' &&
|
||||
needs.build-site.result == 'success' &&
|
||||
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
permissions:
|
||||
id-token: write
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user