Sync a wiki to GitHub
This walkthrough takes a wiki from Cloudairy to a GitHub repository, start to finish: make the repository, make a token, connect, sync, and check the result on GitHub.
1. Make the repository
On GitHub, create a new repository for the docs, for example acme/help. Private is fine. Let GitHub add a README so the main branch exists.
2. Make a token
Create a fine-grained token that can write to that one repository. Follow Create a GitHub token for Git Sync, then copy the token.
3. Connect the wiki
Open your wiki and click Git Sync in the wiki sidebar.
Pick GitHub as the Provider.
Under Repository, type owner/repository, for example acme/help.
Paste the token into Access token.
Under Branch, keep main or type another branch.
Pick a Direction:
- Wiki → repository only when the wiki is where people write, and the repository is a copy.
- Two-way when people also edit the Markdown on GitHub.
- Repository → wiki only when the repository is the source.
Click Connect repository.
You see Repository connected, and the card shows Connected.
4. Sync
Click Sync now at the top of the page. The sync runs in the background, so you can keep working. When it finishes, Recent syncs shows a done row with the number of pages it wrote, for example 210 pushed, and the card shows Last synced.

5. Check it on GitHub
Open the repository. You'll find:
- One folder per space, named after the space, for example
get-started/orartifacts/. - One sub-folder per group inside it.
- One Markdown file per page. A group's first page is named after the group, for example
artifacts/canvas/canvas.md. - At the top of every file, a short header with the page's
titleand acloudairy_id. The id is how Cloudairy matches a file to its page, so leave it as it is when you edit the file.
Pictures stay on Cloudairy: the Markdown links to them, and they show on GitHub without being copied into the repository.
After the first sync
- Click Sync now whenever you want the repository to catch up with the wiki.
- With Two-way or Repository → wiki only, edits committed on GitHub to existing pages come back into the wiki on the next sync.
- To change the branch or direction, edit the card and click Save. Leave Access token blank to keep the saved token.
- If a row in Recent syncs says failed, check that the token hasn't expired and still has Contents: Read and write.