1
0

Attempt to build netlify website

This commit is contained in:
Zef Hemel 2022-07-15 11:36:11 +02:00
parent a69289f1ab
commit 5c6145a214
4 changed files with 14 additions and 1 deletions

3
.gitignore vendored
View File

@ -9,4 +9,5 @@ generated
.yarnrc.yml
*.test.js
*.js.map
.vscode
.vscode
website

3
_redirects Normal file
View File

@ -0,0 +1,3 @@
/fs /index.json 200
/fs/* /fs/:spat.md
/* /index.html 200

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
publish = "website"
command = "./scripts/build_website.sh"

6
scripts/build_website.sh Executable file
View 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/