Add config & redirects files

This commit is contained in:
David Baker 2022-12-21 12:08:08 +00:00
parent 1442e57a23
commit 1c824da32b
2 changed files with 15 additions and 0 deletions

View file

@ -37,6 +37,13 @@ jobs:
name: previewbuild name: previewbuild
path: webapp 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 - name: ☁️ Deploy to Netlify
id: netlify id: netlify
uses: nwtgck/actions-netlify@v1.2 uses: nwtgck/actions-netlify@v1.2

View file

@ -0,0 +1,8 @@
{
"default_server_config": {
"m.homeserver": {
"base_url": "https://call.ems.host",
"server_name": "call.ems.host"
}
}
}