diff --git a/netlify.toml b/netlify.toml index 81278f55..b2c901c7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] -publish = "website" +publish = "website_build" command = "./scripts/build_website.sh" \ No newline at end of file diff --git a/scripts/build_website.sh b/scripts/build_website.sh index 43906d81..74197c2d 100755 --- a/scripts/build_website.sh +++ b/scripts/build_website.sh @@ -1,6 +1,6 @@ #!/bin/sh -#npm run clean-build +npm run clean-build rm -rf website_build mkdir -p website_build/fs/_plug cp -r packages/web/dist/* website_build/