mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
fixing error in .gitlab-ci, setting stages
This commit is contained in:
parent
55192a07eb
commit
1e3d7bc43c
@ -1,6 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
- chill/database:latest
|
- chill/database:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build-doc
|
||||||
|
- deploy-doc
|
||||||
|
- test
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- composer config github-oauth.github.com $GITHUB_TOKEN
|
- composer config github-oauth.github.com $GITHUB_TOKEN
|
||||||
@ -23,9 +28,9 @@ test:php-7:
|
|||||||
|
|
||||||
# deploy documentation
|
# deploy documentation
|
||||||
api-doc-build:
|
api-doc-build:
|
||||||
stage: build
|
stage: build-doc
|
||||||
environment: api-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
|
script: apigen generate --destination /tmp/api/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user