Attempt to build netlify website
This commit is contained in:
parent
a69289f1ab
commit
5c6145a214
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ generated
|
||||
.yarnrc.yml
|
||||
*.test.js
|
||||
*.js.map
|
||||
.vscode
|
||||
.vscode
|
||||
website
|
3
_redirects
Normal file
3
_redirects
Normal file
@ -0,0 +1,3 @@
|
||||
/fs /index.json 200
|
||||
/fs/* /fs/:spat.md
|
||||
/* /index.html 200
|
3
netlify.toml
Normal file
3
netlify.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[build]
|
||||
publish = "website"
|
||||
command = "./scripts/build_website.sh"
|
6
scripts/build_website.sh
Executable file
6
scripts/build_website.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf website
|
||||
mkdir -p website/fs
|
||||
cp -r packages/web/dist/* website/
|
||||
cp -r docs/* website/fs/
|
Loading…
Reference in New Issue
Block a user