refactor: update variables

This commit is contained in:
Alex Munoz 2022-06-13 15:10:43 +02:00 committed by Marcel Feix
parent 399019f0ca
commit 49c744686d
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ include:
variables: variables:
NODE_IMAGE: node:16.15-alpine NODE_IMAGE: node:16.15-alpine
FRONTEND_BUILD_DIR: 'dist/' FRONTEND_BUILD_DIR: 'dist'
Dependencies-npm: Dependencies-npm:
extends: .npm-dependencies extends: .npm-dependencies

View File

@ -2,7 +2,7 @@
image: $NODE_IMAGE image: $NODE_IMAGE
stage: build stage: build
variables: variables:
FRONTEND_BUILD_DIR: 'dist/' FRONTEND_BUILD_DIR: 'dist'
before_script: before_script:
- > - >
if [ "$FRONTEND_DIR" != "" ]; then if [ "$FRONTEND_DIR" != "" ]; then