mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
- internal/timesync: a clock that follows time servers (the median of their offsets) and can set the system clock; an NTP server with NTS; an NTS-KE server; a PTP grandmaster (multicast, and unicast negotiation) and a PTP client; kernel or network-card timestamps. - [time], [ntp], [nts] and [ptp] sections, the UDP ports bound as root and handed down, and bbs time to ask servers once. - Go 1.26 (facebook/time, the protocols' packets, needs it). - Tested against chrony 4.5 (NTP and NTS, both ways) and linuxptp 4.0 (multicast and unicast, both ways). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRUxvTP6EhwNZTADjqy
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
# The bbs site, https://d-modem.github.io/bbs/: docs/wiki with brand's shared
|
|
# theme and workflow (brand's docs/sites.md). A pull request builds it,
|
|
# main deploys it. The configuration reference is made from
|
|
# bbs.conf.sample, and the build fails if the committed page is not the one
|
|
# it makes (go generate ./internal/confedit).
|
|
name: Pages
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['docs/wiki/**', 'mkdocs.yml', 'bbs.conf.sample', 'internal/confedit/**', '.github/workflows/pages.yml']
|
|
pull_request:
|
|
paths: ['docs/wiki/**', 'mkdocs.yml', 'bbs.conf.sample', 'internal/confedit/**', '.github/workflows/pages.yml']
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
concurrency:
|
|
group: pages-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
site:
|
|
uses: D-Modem/brand/.github/workflows/site.yml@main
|
|
with:
|
|
go-version: "1.26"
|
|
prepare: |
|
|
go run ./internal/confedit/refdoc
|
|
git diff --exit-code docs/wiki/Configuration-Reference.md || { echo "::error::docs/wiki/Configuration-Reference.md is out of date: go generate ./internal/confedit"; exit 1; }
|
|
cp docs/wiki/Home.md docs/wiki/index.md
|