diff --git a/scripts/ci/jobs/web.yml b/scripts/ci/jobs/web.yml index 6b679cf42b61e444ebc059342547557157aa29d3..9a897571e70fe4a5fd680c5de2a304f02c03753a 100644 --- a/scripts/ci/jobs/web.yml +++ b/scripts/ci/jobs/web.yml @@ -18,7 +18,7 @@ preview web site: stage: build tags: [docker] image: $WEB_IMAGE - needs: [ci_images] + needs: [ci_images, "build jupyter"] variables: HUGO_ENVIRONMENT: "staging" script: @@ -26,7 +26,7 @@ preview web site: - echo '<meta http-equiv="REFRESH" content="0;URL=web/public/index.html">' >> WebPreview.html - cd web - yarn - - yarn build-with-nb + - yarn build rules: - if: $CI_MERGE_REQUEST_ID changes: @@ -45,7 +45,7 @@ preview web site: deploy web site: stage: package image: $WEB_IMAGE - needs: [ci_images] + needs: [ci_images, "build jupyter"] rules: - if: $CI_COMMIT_TAG - if: '$CI_COMMIT_BRANCH == "master"' @@ -58,7 +58,7 @@ deploy web site: script: - cd web - yarn - - yarn build-with-nb + - yarn build - netlify deploy --prod --dir=public --site=$OGS_NETLIFY_SITE_ID - yarn upload-index cache: