From ed5cd254ec0d7a09a388da80d105ff5f670b1638 Mon Sep 17 00:00:00 2001
From: Tom Wiesing <tkw01536@gmail.com>
Date: Thu, 29 Mar 2018 20:32:35 +0200
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bff0fbe..6e11a24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,6 +36,6 @@ deploy_staging:
     # build the website
     - bundle exec jekyll build -d _site
     # copy over all the files into the deployment folder
-    - cd _site && rsync -rv -e ssh --checksum ./ deploy@static.kwarc.info:/var/www/kwarc.info/www --delete
+    - cd _site && rsync -rv -e "ssh -p $SSH_DEPLOY_PORT" --checksum --exclude='Gemfile' --delete-excluded --delete ./ root@static.kwarc.info:/root/data --delete
   only:
     - master
\ No newline at end of file
-- 
GitLab