Skip to content
Snippets Groups Projects
Commit 524916a7 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

Update .gitlab-ci.yml

parent 4545ed61
No related branches found
No related tags found
1 merge request!199feature/web service deploy
Pipeline #17125 failed
......@@ -8,7 +8,7 @@ stages:
- all
# - build
# - test
# - deploy
- deploy
#cache:
# paths:
......@@ -28,7 +28,12 @@ linux:
- cmake .. -DWITH_OPTFLOW=TRUE -DBUILD_CALIBRATION=TRUE -DCMAKE_BUILD_TYPE=Release
- make
- ctest --output-on-failure
- cd ..
linux:
stage: all
tags:
- linux
script:
- browserify web-service/public/js/index.js -o web-service/public/js/bundle.js
- rsync -vr --delete web-service/ nodejs@ftlab.utu.fi:/srv/nodejs/web-service
- ssh nodejs@ftlab.utu.fi -- "npm install web-service/server && pm2 restart web-service"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment