-
- Downloads
feat: add build with base path for backend
parent
1e38a819
No related branches found
No related tags found
... | @@ -28,6 +28,19 @@ build_page: | ... | @@ -28,6 +28,19 @@ build_page: |
paths: | paths: | ||
- src/.vuepress/dist | - src/.vuepress/dist | ||
# this job creates a build to be included in the back end. | |||
build_page-backend: | |||
image: node:lts-alpine3.10 | |||
stage: build | |||
script: | |||
- ash .ci-scripts/set-path-base.sh backend | |||
- npm i | |||
- node_modules/.bin/vuepress build src | |||
|
|||
artifacts: | |||
paths: | |||
- src/.vuepress/dist | |||
# this stage creates a new environment for the current branch. | # this stage creates a new environment for the current branch. | ||
pages: | pages: | ||
image: docker.gitlab.gwdg.de/mrodzis/docker-images/alpine | image: docker.gitlab.gwdg.de/mrodzis/docker-images/alpine | ||
... | ... |