Verified Commit fd7eacd2 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Use generated notebook output.

parent 2da30e6d
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment