From 0844eee13687be07885a7b84b8e918d4043913c9 Mon Sep 17 00:00:00 2001 From: agessaman Date: Tue, 16 Jun 2026 14:14:33 -0700 Subject: [PATCH] Sync documentation files for Flasher in GitHub Actions workflow --- .github/workflows/build-observer-firmwares.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build-observer-firmwares.yml b/.github/workflows/build-observer-firmwares.yml index 9a8664458..7b585ae4e 100644 --- a/.github/workflows/build-observer-firmwares.yml +++ b/.github/workflows/build-observer-firmwares.yml @@ -146,6 +146,20 @@ jobs: "${{ steps.sha.outputs.short }}" \ "$GITHUB_WORKSPACE/firmware-notes.html" + - name: Sync Docs into Flasher + run: | + # docs.html on the flasher site serves these raw .md files and renders + # them client-side; keep this list in sync with LOCAL_DOCS in + # flasher/docs.html. + for f in MQTT_IMPLEMENTATION.md MQTT_SNMP.md ALERTS.md; do + if [ -f "$f" ]; then + cp -f "$f" "flasher/$f" + echo "synced $f" + else + echo "WARNING: source doc $f not found" >&2 + fi + done + - name: Commit & Push Flasher Config working-directory: flasher run: |