Skip to content

Commit c4045bc

Browse files
committed
ci: support VUE_APP_BUILD_TYPE
1 parent 234ff25 commit c4045bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Taskfile.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tasks:
1616
vars:
1717
GOOS: ""
1818
GOARCH: ""
19+
VUE_APP_BUILD_TYPE: ""
1920

2021
deps:
2122
desc: Install all build dependencies
@@ -89,7 +90,9 @@ tasks:
8990
- ../api/public/index.html
9091
- ../api/public/favicon.ico
9192
cmds:
92-
- npm run build
93+
- >-
94+
env VUE_APP_BUILD_TYPE={{ .VUE_APP_BUILD_TYPE }}
95+
npm run build
9396
9497
build:be:
9598
desc: Build server binary

0 commit comments

Comments
 (0)