Update .gitlab-ci.yml

This commit is contained in:
lambadalambda 2017-03-01 14:42:45 -05:00
parent a4c58aab13
commit 30a908b56d
1 changed files with 5 additions and 3 deletions

View File

@ -27,15 +27,18 @@ before_script:
# paths:
# - node_modules/
stages:
- build
- test
- deploy
test:
script:
- npm install -g yarn
- yarn
- npm run unit
build:
script:
- npm install -g yarn
- yarn
- npm run build
artifacts:
@ -47,7 +50,6 @@ deploy:
only:
- develop
script:
- npm install -g yarn
- yarn
- npm run build
- scp -r dist/* pleroma@tenshi.heldscal.la:~/pleroma