De-slop internal docs + config (repo now fully em-dash-free) (#98)
Sync course wiki / sync-wiki (push) Successful in 4s

Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #98.
This commit is contained in:
2026-06-23 08:51:38 -04:00
committed by Claude (agent)
parent 863435915c
commit 173f39ac44
8 changed files with 70 additions and 69 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
# Render the course (single source of truth = modules/) into the Gitea wiki on
# every push to main. The wiki is generated BUILD OUTPUT never hand-edit it.
# every push to main. The wiki is generated BUILD OUTPUT; never hand-edit it.
#
# Runs on the stack's shared `docker` runners (Linux). To actually push the wiki it
# needs a repo secret WIKI_TOKEN with wiki write (a scoped PAT/deploy token NOT a
# needs a repo secret WIKI_TOKEN with wiki write (a scoped PAT/deploy token, NOT a
# site-admin token). Until that secret exists the job skips cleanly (stays green).
name: Sync course wiki
on:
@@ -27,9 +27,9 @@ jobs:
WIKI_TOKEN: ${{ secrets.WIKI_TOKEN }}
run: |
set -euo pipefail
echo "runner: $(uname -srm) $(python3 --version 2>/dev/null || echo 'python3 missing')"
echo "runner: $(uname -srm); $(python3 --version 2>/dev/null || echo 'python3 missing')"
if [ -z "${WIKI_TOKEN:-}" ]; then
echo "::warning::WIKI_TOKEN secret not set skipping wiki sync. Add the secret to enable auto-sync."
echo "::warning::WIKI_TOKEN secret not set; skipping wiki sync. Add the secret to enable auto-sync."
exit 0
fi
command -v python3 >/dev/null || { apt-get update && apt-get install -y --no-install-recommends python3; }