Skip to content
Snippets Groups Projects
Commit e4fca2df authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Use docker cp instead of volume for doc

parent ce4fec00
No related branches found
No related tags found
1 merge request!9Simplify doxygen, run in Gitlab CI
Pipeline #1211 passed
......@@ -32,20 +32,17 @@ build-lofarbeam:
build-doc:
stage: build-doc
script:
- mkdir -p doc
- ls
- hostname
- pwd
- >
docker run
--name $CI_COMMIT_SHORT_SHA
--workdir /opt/lofarbeam/build/
--volume=${PWD}/doc:/opt/lofarbeam/build/doc/html
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
pwd
- ls doc
sh -c 'make doc'
- docker cp $CI_COMMIT_SHORT_SHA:/opt/lofarbeam/build/doc/html htmldoc
- docker rm $CI_COMMIT_SHORT_SHA
artifacts:
paths:
- doc/*
- htmldoc
build-dp3:
stage: build-dependency
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment