Publish Pages site from Wiki

I want to publish a Pages site from the Wiki markdown file and have all changes made in the wiki automatically update the Pages site.

The repo is private, but I have created a public Pages site using “/docs” and it’s working fine, however I’m having to manually update the with whatever updates happen on the Wiki.

Is there a way to link them so that in effect they are one?

Not directly, but the wiki is a Git repository, too, so you could have an Actions workflow that checks out the wiki and your pages branch, and copies whatever you want between them. According to the docs the gollum event should work to run the workflow whenever there is a change on the wiki.

1 Like