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" + } + } +}