Skip to content

Commit f988ec9

Browse files
build: try to build web separately.
1 parent cead8d3 commit f988ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Build Web
9494
run: |
9595
docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
96-
rm -rf ui/.[!.]* && cp -r ./web-build/ui/* ui/
96+
rm -rf ./ui && cp -r ./web-build/ui ./
9797
- name: Docker Buildx (build-and-push)
9898
run: |
9999
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m
@@ -157,7 +157,7 @@ jobs:
157157
- name: Build Web
158158
run: |
159159
docker buildx build --target web-build --output type=local,dest=./web-build . -f installer/Dockerfile
160-
rm -rf ui/.[!.]* && cp -r ./web-build/ui/* ui/
160+
rm -rf ./ui && cp -r ./web-build/ui ./
161161
- name: Docker Buildx (build-and-push)
162162
run: |
163163
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && free -m

0 commit comments

Comments
 (0)