From 33f282a05089afc042307fa996ebf2c8748c93e7 Mon Sep 17 00:00:00 2001 From: FelixH Date: Thu, 24 Jan 2019 16:02:34 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28b4ceb..5f0e3bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,8 @@ build: stage: build image: node:latest script: - - killall node >> /dev/null 2>&1 & true - yarn - - ln -s /media/songs ./src/static - - yarn run start >> /var/log/slowdowner/access.log 2>&1 & true + - rm -rf ~/slowdowner/* + - cp -r ./* ~/slowdowner + - ln -s /media/songs ~/slowdowner/src/static + - sudo /bin/systemctl restart slowdowner.service \ No newline at end of file