diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2763c1af116b64a69a32845524a56cb9685a1ae..cfc2337c2c296e1769fc6151dba49060b12cf66f 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