From 1cc94f273fe29f1515782b4b9e21ce42162fd932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20V=C3=ADtek?= <fotomartinkv@gmail.com> Date: Mon, 15 Jan 2018 21:14:39 +0100 Subject: [PATCH] Fixed path? --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ccf8ed69..0791cf43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ preview: - node generator/index.js --baseurl /$CI_BUILD_REF_NAME --contentdir . --staticdir fake_static --themedir generator/theme --builddir build --noserver - echo "$PREVIEW_SSH_KEY" > sshkey - chmod 600 sshkey - - rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/$CI_BUILD_REF_NAME/clanek/ + - rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/$CI_BUILD_REF_NAME/ - ssh -i sshkey $SSH_HOST git -c $HTML_DIR/static/static/ pull - ssh -i sshkey $SSH_HOST cp -asf $HTML_DIR/static/static/articles/. HTML_DIR/$CI_BUILD_REF_NAME/clanek/ - ssh -i sshkey $SSH_HOST cp -sf $HTML_DIR/static/static/images/ HTML_DIR/$CI_BUILD_REF_NAME/ -- GitLab