Skip to content
Snippets Groups Projects
Commit ba1ebcf6 authored by Krzysztof Dyszczyk's avatar Krzysztof Dyszczyk
Browse files

Apigen in docker

parent ebd06756
No related branches found
No related tags found
No related merge requests found
......@@ -126,21 +126,18 @@ integration test 4-3:
- phpunit --configuration phpunit-integration.xml
apigen docs:
image: wpdesknet/phpunit-woocommerce:1-0
stage: pre-deploy
dependencies:
- build php
image:
name: docker:dind
entrypoint: ["/bin/sh", "-c"]
stage: build
artifacts:
expire_in: 1 day
name: "docs"
paths:
- docs/
script:
- ls -l
- php --version
- php composer.phar docs
only:
manual
- /app/vendor/bin/apigen generate ${CI_PROJECT_DIR} --destination ${CI_PROJECT_DIR}/docs
when: manual
build to deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment