Skip to content

Modular logistics and supply chain operating system (LSOS)

explicitly set production environment on gitlab cd workflow

Ronald A. Richardson9406446db100
diff --git a/workflows/gitlab-ci.yml b/workflows/gitlab-ci.yml
index c3186fb9..7a9d1178 100644
--- a/workflows/gitlab-ci.yml
+++ b/workflows/gitlab-ci.yml
@@ -62,7 +62,7 @@ deploy:
# build the builder
- docker buildx build -t frontend-${STACK}-${VERSION} --load --target builder -f console/Dockerfile .
- - docker run -i --rm --env-file /tmp/dotenv.file -v "$(pwd)/console_dist:/app/dist" frontend-${STACK}-${VERSION} pnpm build
+ - docker run -i --rm --env-file /tmp/dotenv.file -v "$(pwd)/console_dist:/app/dist" frontend-${STACK}-${VERSION} pnpm build --environment production
- |-
DEPLOY_BUCKET=${PROJECT}-${STACK}
wget -O- https://github.com/bep/s3deploy/releases/download/v2.11.0/s3deploy_2.11.0_linux-amd64.tar.gz | tar xzv -f - s3deploy