Add redirects to netlify deployment

This commit is contained in:
David Baker 2022-05-11 11:39:48 +01:00
parent fd93d89b26
commit 5b913205af
2 changed files with 5 additions and 0 deletions

View file

@ -45,6 +45,9 @@ jobs:
- name: Extract Artifacts
run: unzip -d dist build.zip && rm build.zip
- name: Copy redirects file
run: cp scripts/netlify_redirects dist/_redirects
- name: Deploy to Netlify
id: netlify
uses: nwtgck/actions-netlify@v1.2.3

View file

@ -0,0 +1,2 @@
# Copied to the netlify deploy dir in the upload stage
/* /index.html 200