From c159badf47bcc1f63f16d1f0afdea95fbdc8681c Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sat, 29 Oct 2022 09:54:18 +0200 Subject: [PATCH] Building SB on netlify --- scripts/build_website.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/build_website.sh b/scripts/build_website.sh index 12d247d..d05669c 100755 --- a/scripts/build_website.sh +++ b/scripts/build_website.sh @@ -1,4 +1,11 @@ #!/bin/bash rm -rf website_build -npx --yes @silverbulletmd/publish -o website_build --index website \ No newline at end of file +npx --yes @silverbulletmd/publish -o website_build --index website + +echo "Now building Silver Bullet bundle" +curl -fsSL https://deno.land/install.sh | sh +export PATH=~/.deno/bin:$PATH +deno task build +deno task bundle +cp dist/silverbullet.js website_build/silverbullet.js \ No newline at end of file