Only promote zuul-build-dashboard when it's built

Change-Id: I7aadaf5337ea0dfd3db96df77dc33f9ed854be48
This commit is contained in:
Albin Vass 2021-03-23 17:51:32 +01:00
parent b268f71b23
commit 9c79d86988
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,7 @@
description: |
Builds the zuul dashboard without an overridden API URL.
success-url: 'npm/html/'
files:
files: &zuul_build_dashboard_files
- web/.*
- playbooks/dashboard/.*
vars:
@ -336,6 +336,7 @@
vars:
download_artifact_job: zuul-build-python-release
- opendev-promote-javascript-deployment-tarball:
files: *zuul_build_dashboard_files
vars:
download_artifact_job: zuul-build-dashboard
release: