Improved building process so that already generated dist files are reused when building docker image is possible

This commit is contained in:
Alejandro Celaya
2020-03-20 09:12:43 +01:00
parent 38fc402b16
commit b5a188e802
3 changed files with 8 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ after_success:
# Before deploying, build dist file for current travis tag
before_deploy:
- npm run build ${TRAVIS_TAG#?}
- if [[ ! -z $TRAVIS_TAG ]]; then npm run build ${TRAVIS_TAG#?} ; fi
deploy:
- provider: script