Merge branch '728-faq' into 'master'
[kohadocs.git] / .gitlab-ci.yml
index 56d6836..2bf20dc 100644 (file)
@@ -1,7 +1,3 @@
-artifacts:
-  paths:
-    - build/
-
 before_script:
   # Install ssh-agent if not already installed, it is required by Docker.
   # (change apt-get to yum if you use a CentOS-based image)
@@ -38,6 +34,9 @@ image: debian:unstable
 #  - master
 
 production:
+    cache:
+       paths:
+        - build/en/html
     stage: deploy
     script:
     - DEBIAN_FRONTEND=noninteractive apt-get install -y python3-sphinx  python3-sphinxcontrib.spelling make rsync
@@ -45,5 +44,5 @@ production:
     - make all_html # build/LANG/html
     - rsync -c -u -r -e "ssh" --progress build/* chrisc@www.koha-community.org:/var/www/manual/18.11/
     only:
-        - master
+        - manual18.11.x
     environment: production