From 3fea417a8f804e147d9da93832bb02361e1ded5f Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Fri, 12 Jan 2024 15:43:58 -0500 Subject: [PATCH] Update build action to modify config.json for testing --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0783b750c..ff0ff41c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,11 @@ jobs: - name: Run a production build run: npm run build:production + - name: Update config.json for testing + run: | + jq '.multiserver=true | .servers=["https://demo.jellyfin.org/unstable"]' dist/config.json > dist/config.tmp.json + mv dist/config.tmp.json dist/config.json + - name: Upload artifact uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: