From e6c94c77b28b9d4825edab7cdbc413fbc94e9645 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier <contact@jbpasquier.eu> Date: Mon, 20 Apr 2020 16:11:28 +0000 Subject: [PATCH] fix: gitlabci file --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0af671..7b5556a 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 -- GitLab