Markdown (.md files) (and an associated index.json file for SilverBullet to read via Federation).
The tool can be run in two ways:
From the SB UI, via the (via the command)
As a stand-alone CLI tool (see below)
After running the Publish All command (from SB, or via the CLI as described below) the resulting website is written into your space folder under _public by default (but this is configurable). Note that because SilverBullet does not list pages starting with _, this folder will not be visible in the SilverBullet page picker, it’s only visible on disk.
After this, it’s up to you to deploy these files to any host capable of statically serving files. This repository itself is published to pub.silverbullet.md using Pub combined with Netlify. Check the repo to see how this works.
You may use pub to automatically publish as part of a CI build. For this make sure that you have checked in your _plug folder (at least with the pub.plug.js file) in your code repository.
Here are the minimal steps for your CI build:
Install Deno
Run SB_DB_BACKEND=memory deno run --unstable-kv --unstable-worker-options -A https://get.silverbullet.md plug:run . pub.publishAll
See .github/workflows/gh-pages.yml and netlify.toml in this repo as examples