From dd6eccbc959f80e6850cf9d14a66677ca3bab2e4 Mon Sep 17 00:00:00 2001 From: Alex Munoz Date: Fri, 27 May 2022 11:47:41 +0200 Subject: [PATCH] feat: add env build_dir --- templates/npm/npm-build.gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/npm/npm-build.gitlab-ci.yml b/templates/npm/npm-build.gitlab-ci.yml index 8da8e12..e35a576 100644 --- a/templates/npm/npm-build.gitlab-ci.yml +++ b/templates/npm/npm-build.gitlab-ci.yml @@ -1,3 +1,6 @@ +variables: + FRONTEND_BUILD_DIR: 'dist/' + .npm-build: image: $NODE_IMAGE stage: build @@ -12,4 +15,4 @@ expire_in: 2 weeks when: always paths: - - '**/dist/' + - '$FRONTEND_BUID_DIR'