generate in ci
This commit is contained in:
@ -26,6 +26,8 @@ check:
|
||||
build:
|
||||
image: node:14-buster
|
||||
stage: build
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
@ -40,6 +42,7 @@ build:
|
||||
sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"':'"$CI_COMMIT_SHORT_SHA"'/' ./src/app/navigation/navigation.component.html;
|
||||
fi
|
||||
- npm install
|
||||
- npm run generate
|
||||
- ./node_modules/.bin/ng build --prod
|
||||
- tar -czf ../dist.tgz dist
|
||||
|
||||
|
Reference in New Issue
Block a user