Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ogs
ogs
Commits
647962ad
Verified
Commit
647962ad
authored
Sep 22, 2021
by
Lars Bilke
Browse files
[web] Use generated notebook output.
parent
395a0421
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/ci/jobs/web.yml
View file @
647962ad
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment