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