Merge pull request #2084 from robintown/fork-builds
Fix builds on PRs from forks
This commit is contained in:
4
.github/workflows/netlify-pr.yaml
vendored
4
.github/workflows/netlify-pr.yaml
vendored
@@ -47,9 +47,7 @@ jobs:
|
|||||||
run: curl -s https://raw.githubusercontent.com/element-hq/element-call/main/config/netlify_redirects > webapp/_redirects
|
run: curl -s https://raw.githubusercontent.com/element-hq/element-call/main/config/netlify_redirects > webapp/_redirects
|
||||||
|
|
||||||
- name: Add config file
|
- name: Add config file
|
||||||
env:
|
run: curl -s "https://raw.githubusercontent.com/${{ github.event.workflow_run.head_repository.full_name }}/${{ github.event.workflow_run.head_branch }}/config/element_io_preview.json" > webapp/config.json
|
||||||
HEADBRACH: ${{ github.event.workflow_run.head_branch }}
|
|
||||||
run: curl -s "https://raw.githubusercontent.com/element-hq/element-call/${HEADBRACH}/config/element_io_preview.json" > webapp/config.json
|
|
||||||
|
|
||||||
- name: ☁️ Deploy to Netlify
|
- name: ☁️ Deploy to Netlify
|
||||||
id: netlify
|
id: netlify
|
||||||
|
|||||||
Reference in New Issue
Block a user