diff --git a/zuul/_setup_hook.py b/zuul/_setup_hook.py index 9d2bcc5f2e..d88815c36f 100644 --- a/zuul/_setup_hook.py +++ b/zuul/_setup_hook.py @@ -28,7 +28,7 @@ def _build_javascript(): r = subprocess.Popen(['yarn', 'install', '-d'], cwd="web/").wait() if r: raise RuntimeError("Yarn install failed") - if not os.path.exists('web/build/index.html'): + if not os.path.exists('zuul/web/static/index.html'): r = subprocess.Popen(['yarn', 'build'], cwd="web/").wait() if r: raise RuntimeError("Yarn build failed")