Update .gitlab-ci.yml

This commit is contained in:
2019-01-24 16:02:34 +00:00
parent d8f96b4001
commit 33f282a050

View File

@@ -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