mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
tools/settings_ref.py writes docs/settings.md from the apps' ModemSettings: on Android each setting's DataStore key, kind, default and comment (and it fails on a setting with no key); on iOS each setting and the Keychain name of the secrets. The iOS settings that took the comment of the one above them get their own. The Pages workflow builds docs/ and the README with brand's theme, and fails if docs/settings.md is out of date; the Android and Apple workflows skip the site's files. Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn Co-authored-by: Claude <noreply@anthropic.com>
23 lines
635 B
YAML
23 lines
635 B
YAML
# The app's site, https://d-modem.github.io/app/: docs/ and the README with
|
|
# brand's shared theme and workflow (brand's docs/sites.md). A pull request
|
|
# builds it, main deploys it. It fails if docs/settings.md isn't what the
|
|
# apps' ModemSettings make now (tools/settings_ref.py).
|
|
name: Pages
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
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:
|
|
prepare: python3 tools/settings_ref.py --check
|