mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-14 05:20:22 +00:00
CI: force dev mode removal
This commit is contained in:
parent
3a11414155
commit
7bc56b419e
2 changed files with 6 additions and 1 deletions
5
.github/workflows/android.yml
vendored
5
.github/workflows/android.yml
vendored
|
|
@ -45,6 +45,11 @@ jobs:
|
|||
- name: Remove Cached Build
|
||||
run: rm -rf ./build && mkdir ./build
|
||||
|
||||
- name: Forcefully Remove Developer Mode
|
||||
run: |
|
||||
sed -i "s@if (mode === 'development')@// if (mode === 'development')@g" ./capacitor.config.js
|
||||
echo "Forcefully removed developer mode"
|
||||
|
||||
- name: Build Native + Web
|
||||
run: pnpm run build:app
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ const config = {
|
|||
}
|
||||
}
|
||||
|
||||
// if (mode === 'development') config.server.url = 'http://localhost:5001/index.html'
|
||||
if (mode === 'development') config.server.url = 'http://localhost:5001/index.html'
|
||||
|
||||
module.exports = config
|
||||
|
|
|
|||
Loading…
Reference in a new issue