mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
upload api to swift container for publication
This commit is contained in:
parent
122e86f4d6
commit
f9e5005f8d
@ -48,6 +48,17 @@ api-doc-build:
|
|||||||
- master
|
- master
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
|
api-doc-deploy:
|
||||||
|
stage: deploy-doc
|
||||||
|
image: pallet/swiftclient:latest
|
||||||
|
before_script:
|
||||||
|
# test that CONTAINER_API variable is set
|
||||||
|
- if [ -z ${CONTAINER_API+x} ]; then echo "Please set CONTAINER_API variable"; exit -1; fi
|
||||||
|
script: swift upload $CONTAINER_API api-doc/$CI_PROJECT_NAME/$CI_BUILD_REF_NAME
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- tags
|
||||||
|
|
||||||
deploy-packagist:
|
deploy-packagist:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user