mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 14:36:13 +00:00
setting version before project name in api
This commit is contained in:
parent
0842708b7e
commit
fedfa5dad3
@ -37,7 +37,7 @@ api-doc-build:
|
|||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir api-doc
|
- mkdir api-doc
|
||||||
script: apigen generate --destination api-doc/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME
|
script: apigen generate --destination api-doc/$CI_BUILD_REF_NAME/$CI_PROJECT_NAME
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "api-doc/"
|
- "api-doc/"
|
||||||
@ -56,7 +56,7 @@ api-doc-deploy:
|
|||||||
# go to api-doc to have and url with PROJECT/BUILD
|
# go to api-doc to have and url with PROJECT/BUILD
|
||||||
- cd api-doc
|
- cd api-doc
|
||||||
# upload, and keep files during 1 year
|
# upload, and keep files during 1 year
|
||||||
script: "swift upload --header \"X-Delete-After: 31536000\" $CONTAINER_API $CI_PROJECT_NAME/$CI_BUILD_REF_NAME"
|
script: "swift upload --header \"X-Delete-After: 31536000\" $CONTAINER_API $CI_BUILD_REF_NAME/$CI_PROJECT_NAME"
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- tags
|
- tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user