Merge pull request #5097 from thornbill/test-config-json

Update build action to modify config.json for testing
This commit is contained in:
Bill Thornton 2024-01-12 16:36:52 -05:00 committed by GitHub
commit 2fb6251629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,11 @@ jobs:
- name: Run a production build - name: Run a production build
run: npm run build:production 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 - name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with: with: