From 8befdd7c3ab10b72782a1c9abee8973e8ee66aa7 Mon Sep 17 00:00:00 2001 From: Dimitrios Giannopoulos Date: Tue, 19 Dec 2023 12:52:05 +0000 Subject: [PATCH] added cp commands to angular build --- ci-templates/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci-templates/build.yml b/ci-templates/build.yml index 850aad8..bd5d893 100644 --- a/ci-templates/build.yml +++ b/ci-templates/build.yml @@ -27,6 +27,13 @@ stage: build image: trion/ng-cli:14.2.6 script: + - | + if [ ! -f "./src/assets/config/theming.scss" ]; then + cp ./src/assets/config/theming.default.scss ./src/assets/config/theming.scss + fi + if [ ! -f "./src/assets/config/config.prod.json" ]; then + cp ./src/assets/config/config.prod.default.json ./src/assets/config/config.prod.json + fi - npm install - ng build --configuration production --deleteOutputPath=false artifacts: -- GitLab