From cb8d8373708610f9b839b4a002e30c6121b3d568 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 11 May 2022 13:20:35 +0100 Subject: [PATCH] Fetch redirects file from github --- .github/workflows/netlify-main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/netlify-main.yaml b/.github/workflows/netlify-main.yaml index d05edbf6..54404b94 100644 --- a/.github/workflows/netlify-main.yaml +++ b/.github/workflows/netlify-main.yaml @@ -45,8 +45,9 @@ jobs: - name: Extract Artifacts run: unzip -d dist build.zip && rm build.zip - - name: Copy redirects file - run: cp config/netlify_redirects dist/_redirects + - 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 > dist/_redirects - name: Deploy to Netlify id: netlify