Skip to content

Commit a23251e

Browse files
fix(cat-voices): build web earthly target (#2468)
* fix commit * test * explicit release build mode
1 parent cc4817d commit a23251e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

catalyst_voices/Earthfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,10 @@ build-static-analysis:
116116
# Build web version of Catalyst Voices
117117
build-web:
118118
FROM +code-generator
119-
ARG RUN_ON_PR=true
120-
121119
ARG WORKDIR=/frontend/apps/voices
122-
IF [ $RUN_ON_PR = true ]
123-
DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--profile' --TARGET=lib/configs/main_web.dart
124-
ELSE
125-
DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --TARGET=lib/configs/main_web.dart
126-
SAVE ARTIFACT web
127-
END
120+
121+
DO flutter-ci+BUILD_WEB --WORKDIR=$WORKDIR --BUILD_MODE='--release' --TARGET=lib/configs/main_web.dart
122+
SAVE ARTIFACT web
128123

129124
package:
130125
FROM nginx:alpine3.20-slim

0 commit comments

Comments
 (0)