diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0870eb8718126113791f26916b56ac695c862074..044c97db07fe9e2c0e73fc166f29bcf474a86a30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"