From 326a75af92c9adf9e47064fa3df6dab63cb96c20 Mon Sep 17 00:00:00 2001
From: Sabine Seljeseth <sabine.seljeseth@gmail.com>
Date: Fri, 17 Apr 2020 18:38:54 +0200
Subject: [PATCH] =?UTF-8?q?endrer=20p=C3=A5=20rsync?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2763c1..cfc2337 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ deploy:
     - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
     - apt-get update
     - apt-get install --assume-yes rsync
-    - ssh app@10.52.231.219 -Tv
+    - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.52.231.219:app
     - ssh app@10.52.231.219 systemctl --user restart app
   only:
     - master
\ No newline at end of file
-- 
GitLab