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