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'