diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0af671b4c77326392301d515518eb4417df79da..7b5556a330fecdf55c9ef6ecfe080f414525b4b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ image: python:3.6 publish: - script: + script: - pip install sphinx - pip install sphinxcontrib-httpdomain - pip install sphinx_rtd_theme @@ -9,5 +9,7 @@ publish: - sphinx-build -d html "source" "build" - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key - scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* documentation@astral.startinblox.com:~/doc/ - only: + only: - master + tags: + - deploy