Add config & redirects files
This commit is contained in:
parent
1442e57a23
commit
1c824da32b
2 changed files with 15 additions and 0 deletions
7
.github/workflows/netlify-pr.yaml
vendored
7
.github/workflows/netlify-pr.yaml
vendored
|
@ -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
|
||||||
|
|
8
config/element_io_preview.json
Normal file
8
config/element_io_preview.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"default_server_config": {
|
||||||
|
"m.homeserver": {
|
||||||
|
"base_url": "https://call.ems.host",
|
||||||
|
"server_name": "call.ems.host"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue