diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 653e44fc7ac2091e2e7085f176dca437c03b2b45..4d34ca589bbe64e94417569dc1396266f5e24ee6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,27 @@ stages: + - checkout - build +git checkout: + image: apline/git:latest + stage: checkout + script: + - git -c http.sslVerify=false clone https://gitlab.studip.de/studip/studip.git --single-branch + artifacts: + paths: + - studip + pages: image: name: phpdoc/phpdoc:${IMAGE_TAG} entrypoint: [""] stage: build + dependencies: + - git checkout variables: PHPDOC_OUTPUT: "doc/html" IMAGE_TAG: "3.3" script: - - git -c http.sslVerify=false clone https://gitlab.studip.de/studip/studip.git --single-branch - cd studip - /opt/phpdoc/bin/phpdoc -t ${PHPDOC_OUTPUT} --config ../phpdoc.xml - mv ${PHPDOC_OUTPUT} ../public