From 73f37c24770fb31e115d613e1c28e8bb49caaeff Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 8 Nov 2023 09:43:36 +0000 Subject: [PATCH] chore(ci): fix prepare dist (#5214) --- docker/prepare-dist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/prepare-dist.sh b/docker/prepare-dist.sh index 77ef3edcc..9742b7a93 100755 --- a/docker/prepare-dist.sh +++ b/docker/prepare-dist.sh @@ -1,11 +1,11 @@ #!/bin/bash -e yarn --pure-lockfile app=${1:-trading} -envCmd="envCmd="yarn env-cmd -f ./apps/${app}/.env.${2:-mainnet}" +envCmd="envCmd="yarn -f ./apps/${app}/.env.${2:-mainnet}" yarn install if [ "${app}" = "trading" ]; then $envCmd yarn nx export trading - DIST_LOCATION=dist/apps/trading/exported + DIST_LOCATION=dist/apps/trading/exported/ else $envCmd yarn nx build ${app} DIST_LOCATION=dist/apps/${app}