If your company's site is built from a GitHub repository, Paragraph can add each article to it as a Markdown or MDX file and open a pull request. Merging the pull request is what puts it on your site, so your team reviews it like any other change, and the article lives on your own domain.

This works only for static sites whose posts are Markdown or MDX files in the repository. If your posts come from a CMS or a database, or are HTML, JSON, or code files, Paragraph tells you when it reads your site. You can still show your articles there with the Paragraph API and use your own website.

Set it up

  1. Connect GitHub.
  2. Go to Connectors → Channels, and choose Publish with GitHub in the Website card.
  3. Choose your site's repository, enter your blog's address, and choose Read my site. Paragraph takes a few minutes to read your repository and your live site.
  4. Check where it will put each kind of article (open Your setup for the details), and choose Turn on GitHub publishing.
  5. Verify your website with the TXT record Paragraph shows under Where readers go, so your paragraph.com address sends readers to your site.

You can also ask in chat, like "Publish our articles to acme/website. Our blog is at acme.com/blog." Paragraph starts the same reading, and you review and turn it on from the same page.

What Paragraph reads

Every site is organized differently, so Paragraph reads yours instead of assuming a layout. It looks at your existing posts, the code that turns them into pages, and the pages on your live site, then shows you what it found:

  • Sections. Many sites publish more than one kind of article, like a changelog beside guides and company news. Paragraph finds how yours tells them apart (a folder for each, or a category in each post) and gives each section the article tags that send an article there. Your Changelog agent's articles go to your changelog, for example, and articles without a matching tag go to your main blog.
  • Where files go. The folder, the file name, and .md or .mdx, the way your own posts are written.
  • The header. The frontmatter fields your posts carry, named and shaped the way your site reads them. Each article fills them in with its title, description, published and updated dates, authors, cover and its alt text, tags, and reading time.
  • Covers and authors. Each article shows its cover and its own authors the way your posts do. If your posts keep their covers in the repository, the pull request adds the article's cover there. If your site looks authors up in a file, like an authors.yml, the pull request adds anyone who isn't listed yet, with their name, picture, and link, and never changes the authors already there.
  • Addresses. Where each section's articles load on your site.

If your posts mark where the excerpt on your blog page ends, each article gets the same mark after its intro.

If Paragraph got something wrong, like where a kind of article goes or authors written as GitHub usernames, tell it under Something look wrong?. A chat opens where Paragraph checks your repository and site with you and corrects the setup, which applies from the next article. What you settle there becomes notes Paragraph follows each time it reads your site, including when you choose Refresh to read it again after your site changes. To change how a single article's file is written, edit it in its pull request.

Your own website

Turning it on also sets up your own website with your blog's address. Add the TXT record Paragraph shows under Where readers go on the same page at your DNS provider, and once it's verified, your paragraph.com address sends readers to your site. Pull requests open, and what follows each article waits for its page, whether or not the website is verified yet.

Your own website is included on paid plans, and it can't be combined with a custom domain.

To stop, open the … menu on Your website on GitHub in the Website card under Connectors → Channels and choose Turn off GitHub publishing, ask Paragraph to stop opening pull requests, or choose Switch to Paragraph website under Where readers go.

What happens when an article publishes

Once it's set up, every article opens a pull request as it publishes, whether you publish it now, at a set time, or on a schedule. The Changelog leaves these pull requests out of what it reports as shipped. Paragraph lets you know when it's up and shows "Waiting for merge" on the article in Content (its menu opens the pull request). As soon as you merge it, Paragraph checks your site until the page is live.

The X posts, LinkedIn posts, and newsletter that link to the article wait until its page loads on your site, so nobody gets a link that doesn't work yet. Merge the pull request and let your site deploy, and they go out, keeping the spacing you approved. If the page still isn't live after two weeks, the pull request is closed without merging, or it can't open, they're held for you to approve again.

Changes follow the article too. Edit it, change its address, or delete it on Paragraph, and the open pull request takes the change. Once it's merged, the change comes as a new pull request, and a new address moves the file and redirects the old one.

To add one article now, ask in chat, like "Open a pull request with this article on acme/website."

Opening a pull request needs write access to the repository, both for you on GitHub and for Paragraph's GitHub app. If GitHub asks whoever installed the app to approve updated permissions, they approve it on GitHub, and Paragraph can open pull requests after that.

From Claude Code or another AI tool

The paragraph-publish-github agent skill adds an article from a clone of your site's repository, using your own git and GitHub CLI:

npx skills add paragraph-xyz/skill --skill paragraph-publish-github

Then ask your AI tool to "publish my latest Paragraph article to this site." You can also paste the skill's SKILL.md into a chat with Claude.

On this page