mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
The README's sections become pages (Building, Running, Administration, Configuration, Modem callers, TN3270, Sixel graphics, Files and FTP, File transfers, Doors, Newsgroups and NNTP, FidoNet, Security, Development) with a Home page, sidebar and footer, kept in docs/wiki in the wiki's own file layout. Administration gains the whole command reference and Configuration a map of every section. docs/wiki/publish.sh copies them to the wiki, and the Wiki workflow does it when they change on the default branch. The README keeps the introduction, a quick start and links to the pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
29 lines
949 B
YAML
29 lines
949 B
YAML
# Publish docs/wiki to the GitHub wiki when it changes on the default branch.
|
|
# The wiki must exist (one page made in the web editor first). It pushes
|
|
# with the workflow's token; if that is refused, add a WIKI_TOKEN secret (a
|
|
# token that can push to this repository) and it is used instead.
|
|
name: Wiki
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'docs/wiki/**'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
publish:
|
|
if: github.ref_name == github.event.repository.default_branch
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Publish docs/wiki
|
|
env:
|
|
WIKI_URL: https://x-access-token:${{ secrets.WIKI_TOKEN || secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
|
|
run: |
|
|
git config --global user.name "github-actions[bot]"
|
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
docs/wiki/publish.sh
|