Merge pull request #801 from vector-im/dbkr/pr_preview_use_branch_config

Use config from the branch we built on PR previews
This commit is contained in:
David Baker 2022-12-21 15:23:08 +00:00 committed by GitHub
commit 16e8ea3420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ jobs:
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
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
id: netlify