From 1e3d7bc43caa8d7d27da4a1e629b404569c0ce64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sun, 4 Sep 2016 21:22:35 +0200 Subject: [PATCH] fixing error in .gitlab-ci, setting stages --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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: