diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3afe12da6..95aebd460 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,11 @@ services: - chill/database:latest +stages: + - build-doc + - deploy-doc + - test + before_script: - composer config github-oauth.github.com $GITHUB_TOKEN @@ -23,9 +28,9 @@ test:php-7: # deploy documentation api-doc-build: - stage: build + stage: build-doc environment: api-doc - image: chill/ci-image:php7 + image: chill/ci-image:php-7 script: apigen generate --destination /tmp/api/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME artifacts: paths: