Use config from the branch we built on PR previews
No harm in doing this - just as easy to override config in the code itself.
This commit is contained in:
parent
4dd823eca4
commit
089234ae09
1 changed files with 1 additions and 1 deletions
2
.github/workflows/netlify-pr.yaml
vendored
2
.github/workflows/netlify-pr.yaml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
||||||
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/netlify_redirects > webapp/_redirects
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/netlify_redirects > webapp/_redirects
|
||||||
|
|
||||||
- name: Add config file
|
- name: Add config file
|
||||||
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/main/config/element_io_preview.json > webapp/config.json
|
run: curl -s https://raw.githubusercontent.com/vector-im/element-call/${{ github.event.workflow_run.head_branch }}/config/element_io_preview.json > webapp/config.json
|
||||||
|
|
||||||
- name: ☁️ Deploy to Netlify
|
- name: ☁️ Deploy to Netlify
|
||||||
id: netlify
|
id: netlify
|
||||||
|
|
Loading…
Reference in a new issue