diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1898acbfbfbd8cadf95a321802e541521b7fa06..8fefc7c4bb8c5389485808d0dddb5879883c6c8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ deploy: - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - apt-get update - apt-get install --assume-yes rsync - - ssh app@10.52.205.249 -Tv + - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.52.232.243:app + - ssh app@10.52.232.243 systemctl --user restart app only: - master