diff --git a/tests/.gitlab-ci.yml b/tests/.gitlab-ci.yml index fad0c53094e3c8d2e4cbc5ffdbd168955232c2c1..b32d705792dd026e7a3db0ab8ccb420f3e77d626 100644 --- a/tests/.gitlab-ci.yml +++ b/tests/.gitlab-ci.yml @@ -7,7 +7,8 @@ deploy: - touch ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa # Required permission by ssh - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - - scp public/index.html app@10.0.2.15:app/public + - apt-get update + - apt-get install --assume-yes rsync + - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.0.2.15:app only: - - master - + - master \ No newline at end of file