-
Notifications
You must be signed in to change notification settings - Fork 31
pipeline and wiki sync
github-actions[bot] edited this page Mar 30, 2026
·
1 revision
How documentation is published to GitHub Wiki
Warning
The docs/ folder is the source of truth. Manual wiki edits will be overwritten.
FreeKiosk uses GitHub Actions to automatically publish documentation from the repository to GitHub Wiki.
| Component | Location | Purpose |
|---|---|---|
| Source |
docs/ folder |
Documentation files |
| Target | GitHub Wiki | Published documentation |
| Workflow | .github/workflows/docs-to-wiki-sync.yml |
Automation |
-
Trigger - Push to
mainbranch or manual workflow dispatch - Clone - Clone the wiki repository
-
Sync - Copy files from
docs/to wiki (withrsync --delete) -
Landing Page - Copy
README.mdtoHome.md - Commit - Push changes to wiki
Repository docs/ → GitHub Wiki
↑ ↓
Source of Truth Published Content
Warning
This is a one-way sync. Manual wiki edits will be overwritten on next sync.
-
Edit in
docs/- Never edit wiki directly - Test locally - Preview changes before pushing
- Proper formatting - Use GitHub-flavored Markdown
- Update links - Use relative links between docs
Wiki not enabled:
- Go to repository Settings
- Enable Wikis under Features
- Re-run workflow
Permission denied:
- Settings → Actions → General
- Set "Read and write permissions"
- Re-run workflow
Missing files:
- Verify
docs/folder exists - Ensure
docs/README.mdis present - Commit and push
Workflow stuck:
- Go to Actions tab
- Re-run failed jobs
-
Triggers: Push to
mainor manual dispatch -
Permissions:
contents: write -
Runner:
ubuntu-latest
git clone https://github.com/user/repo.wiki.git
rsync --delete docs/ wiki/
cp docs/README.md wiki/Home.md
cd wiki && git add . && git commit -m "Sync docs" && git push| Source | Target | Purpose |
|---|---|---|
docs/README.md |
Home.md |
Wiki landing page |
docs/*.md |
*.md |
Documentation pages |
docs/screenshots/ |
screenshots/ |
Images |
-
Workflow:
.github/workflows/docs-to-wiki-sync.yml - GitHub Wiki Docs: docs.github.com/en/wikis
- GitHub Actions: docs.github.com/en/actions