mirror of
https://github.com/vector-im/element-call.git
synced 2022-05-22 02:31:18 +03:00
Add redirects to netlify deployment
This commit is contained in:
3
.github/workflows/netlify-main.yaml
vendored
3
.github/workflows/netlify-main.yaml
vendored
@@ -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
|
||||
|
||||
2
scripts/netlify_redirects
Normal file
2
scripts/netlify_redirects
Normal file
@@ -0,0 +1,2 @@
|
||||
# Copied to the netlify deploy dir in the upload stage
|
||||
/* /index.html 200
|
||||
Reference in New Issue
Block a user