feat: improve web build (#123)

This commit is contained in:
Li Wei authored and GitHub committed 2023-06-27 10:04:15 +08:00
1 parent 97cf8ff0c5
commit 96a4526bc8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -310,7 +310,7 @@ jobs:
VERSION: ${{ needs.get-release.outputs.tag_name }}
run: |
cd ui/flutter
flutter build web
flutter build web --web-renderer html
cd ../../
cp -r ui/flutter/build/web cmd/web/dist
mkdir -p dist/zip
+1 -1
View File
@@ -3,7 +3,7 @@ WORKDIR /app
COPY ./ui/flutter/pubspec.yaml ./ui/flutter/pubspec.lock ./
RUN flutter pub get
COPY ./ui/flutter ./
RUN flutter build web
RUN flutter build web --web-renderer html
FROM golang:1.19.3 AS go
WORKDIR /app