1
0

Building SB on netlify

This commit is contained in:
Zef Hemel 2022-10-29 09:54:18 +02:00
parent c54e93a2b9
commit c159badf47

View File

@ -1,4 +1,11 @@
#!/bin/bash
rm -rf website_build
npx --yes @silverbulletmd/publish -o website_build --index website
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