Commit 9d6499c2 authored by Markus Mirz's avatar Markus Mirz
Browse files

Update .gitlab-ci.yml

parent 57454f76
variables: variables:
DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME} DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME}
DOCKER_IMAGE_DEV: dpsim-dev DOCKER_IMAGE_DEV: dpsim-dev
DOCKER_IMAGE_WEB: dpsim-web
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
stages: stages:
- prepare - prepare
- build - build
- docs - docs
- deploy
docker: docker:
stage: prepare stage: prepare
...@@ -44,3 +46,12 @@ docs: ...@@ -44,3 +46,12 @@ docs:
- build/Documentation/Cxx/html - build/Documentation/Cxx/html
tags: tags:
- docker - docker
deploy:
stage: deploy
script:
- docker build -f Dockerfile.webdoc -t ${DOCKER_IMAGE_WEB}:${DOCKER_TAG_DEV}
- docker images
- docker run --name dpsim-webdoc -d -p 8080:80 ${DOCKER_IMAGE_WEB}:${DOCKER_TAG_DEV}
tags:
- shell
Supports Markdown
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