Skip to content

Commit

Permalink
chore(ci): fix prepare dist (#5214)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwallacee authored Nov 8, 2023
1 parent 607ad06 commit 73f37c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/prepare-dist.sh
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit 73f37c2

Please sign in to comment.