Update .gitlab-ci.yml
[kohadocs.git] / .gitlab-ci.yml
index b3b8d87..1497496 100644 (file)
@@ -1,4 +1,3 @@
-
 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)
@@ -35,15 +34,17 @@ image: debian:unstable
 #  - master
 
 production:
-    artifacts:
+    only:
+      - master@koha-community/koha-manual
+    cache:
        paths:
-        - build/
+        - build/en/html
     stage: deploy
     script:
     - DEBIAN_FRONTEND=noninteractive apt-get install -y python3-sphinx  python3-sphinxcontrib.spelling make rsync
     - make all_epub # build/LANG/epub
     - make all_html # build/LANG/html
-    - rsync -c -u -r -e "ssh" --progress build/* chrisc@www.koha-community.org:/var/www/manual/18.11/
+    - rsync -c -u -r -e "ssh" --progress build/* chrisc@www.koha-community.org:/var/www/manual/19.05/
     only:
         - master
     environment: production