ci(windows): 构建注入生产后端 BASE_URL/PUBLIC_URL=https://jiu.51yanmei.com(原默认 localhost 连不上后端)
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- run: flutter pub get
|
||||
|
||||
- run: flutter build windows --release
|
||||
- run: flutter build windows --release --dart-define=BASE_URL=https://jiu.51yanmei.com --dart-define=PUBLIC_URL=https://jiu.51yanmei.com
|
||||
|
||||
- name: Package Release
|
||||
shell: pwsh
|
||||
|
||||
Reference in New Issue
Block a user