Switchboard manual ⚡ Web flasher

Releases

git tag v0.4.0
git push origin v0.4.0

GitHub Actions (.github/workflows/release.yaml) then:

The browser flasher

docs/firmware/ is what the browser flasher serves, and docs/manual/ is this manual, once GitHub Pages is turned on for this repo (Settings → Pages → main / /docs). The flasher needs Chrome or Edge on a desktop: Web Serial isn’t available elsewhere.

The flasher also installs the two wall displays: the viewport (reTerminal E1002) from the latest Switchboard Viewport release, in docs/firmware/viewport/, and the board (reTerminal E1004) from the latest Switchboard Board release, in docs/firmware/board/. The Viewport web flasher workflow copies each one there every six hours, or when you run it by hand (Actions → Viewport web flasher → Run workflow). It only commits when a new release is out. To have each release update the flasher straight away, give the Switchboard-Viewport and Switchboard-Board repositories a SWITCHBOARD_FLASHER_TOKEN secret: a fine-grained token for this repository with Contents: read and write. Their release workflows then trigger the update when they publish.

Locking it down

Anything tagged on main can reach every remote once it’s released on the server, so it’s worth protecting: