mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
upload api to swift container for publication
This commit is contained in:
parent
122e86f4d6
commit
f9e5005f8d
@ -47,6 +47,17 @@ api-doc-build:
|
|||||||
only:
|
only:
|
||||||
- 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user