From 1c824da32b928e02c8af8558288b476d40f3c26d Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 21 Dec 2022 12:08:08 +0000 Subject: [PATCH] Add config & redirects files --- .github/workflows/netlify-pr.yaml | 7 +++++++ config/element_io_preview.json | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 config/element_io_preview.json diff --git a/.github/workflows/netlify-pr.yaml b/.github/workflows/netlify-pr.yaml index 672b953..52c4bf6 100644 --- a/.github/workflows/netlify-pr.yaml +++ b/.github/workflows/netlify-pr.yaml @@ -37,6 +37,13 @@ jobs: name: previewbuild path: webapp + - name: Add redirects file + # We fetch from github directly as we don't bother checking out the repo + run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/netlify_redirects > webapp/_redirects + + - name: Add config file + run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/element_io_preview.json > webapp/config.json + - name: ☁️ Deploy to Netlify id: netlify uses: nwtgck/actions-netlify@v1.2 diff --git a/config/element_io_preview.json b/config/element_io_preview.json new file mode 100644 index 0000000..7afb8f6 --- /dev/null +++ b/config/element_io_preview.json @@ -0,0 +1,8 @@ +{ + "default_server_config": { + "m.homeserver": { + "base_url": "https://call.ems.host", + "server_name": "call.ems.host" + } + } +}