GitHub integration

# Google Docs to GitHub in One Click

Publish to your static site by committing each Google Doc as a Markdown file with front matter, in the repo, branch and folder you choose.

[Start for free](/accounts/signup)[See pricing](/pricing)

5 free exports. No credit card required.

Google Doc

titleLaunch notes

sluglaunch-notes

tagsproduct, news

github.com · acme/website

GitHub

- Converting to Markdown
- Writing front matter
- Committing to main

content/posts/launch-notes.md committed

Trusted by publishers and content teams

- ![Get Current Studio](https://cdn.docswrite.com/customer-logos/getcurrent.studio.png)
- ![Defendernetwork.com](https://cdn.docswrite.com/customer-logos/defendernetwork.com.webp)
- ![Santa Monica Daily Press](https://cdn.docswrite.com/customer-logos/smdp.com.webp)
- ![Local Media Association](https://cdn.docswrite.com/customer-logos/localmedia.org.webp)
- ![Get Current Studio](https://cdn.docswrite.com/customer-logos/Group-33632.svg)
- ![The Belmont Voice](https://cdn.docswrite.com/customer-logos/Horizontal-Belmont-Voice-logo-scaled.webp)
- ![The Presstitan](https://cdn.docswrite.com/customer-logos/presstitan-large-1.svg)
- ![RemoteFront](https://cdn.docswrite.com/customer-logos/remotefront_logo.png)
- ![72 Ventures](https://cdn.docswrite.com/customer-logos/72v_logo-min.png)
- ![The Grambling Connection](https://cdn.docswrite.com/customer-logos/grambling.webp)

- ![](https://cdn.docswrite.com/customer-logos/getcurrent.studio.png)
- ![](https://cdn.docswrite.com/customer-logos/defendernetwork.com.webp)
- ![](https://cdn.docswrite.com/customer-logos/smdp.com.webp)
- ![](https://cdn.docswrite.com/customer-logos/localmedia.org.webp)
- ![](https://cdn.docswrite.com/customer-logos/Group-33632.svg)
- ![](https://cdn.docswrite.com/customer-logos/Horizontal-Belmont-Voice-logo-scaled.webp)
- ![](https://cdn.docswrite.com/customer-logos/presstitan-large-1.svg)
- ![](https://cdn.docswrite.com/customer-logos/remotefront_logo.png)
- ![](https://cdn.docswrite.com/customer-logos/72v_logo-min.png)
- ![](https://cdn.docswrite.com/customer-logos/grambling.webp)

Publish to GitHub from an AI agent

Claude, Cursor and ChatGPT can draft and publish to GitHub through the hosted Docswrite MCP server. [See the MCP server](/product/wordpress-mcp)

## Docs-as-code, without asking writers to learn Git

Static sites keep content as Markdown in a repository. Docswrite lets writers stay in Google Docs and commits the result for them: one Markdown file per doc, with front matter your framework understands.

Connect GitHub, pick the repository, branch and content folder, and choose a front matter preset. Each publish commits the file; publishing again updates it, so your normal build and deploy pipeline takes over.

How it works

## How to publish Google Docs to GitHub

Your CI builds the site; Docswrite writes the files.

- 01

### Connect GitHub

Authorize Docswrite, then choose the repository, branch and content path.
- 02

### Pick a front matter preset

Next.js, Gatsby, Jekyll, Hugo, Astro or custom: choose the fields and naming (camelCase or snake_case).
- 03

### Commit or schedule

Publish to commit the Markdown file now, or schedule the commit for later.

Features

## Built for static site generators

- ### Markdown + front matter

Title, excerpt, author, date, featured image, tags and categories in YAML front matter.
- ### Framework presets

Next.js, Gatsby, Jekyll, Hugo and Astro presets, or build your own with custom fields.
- ### Branch and folder

Commit to any branch and content path in the repository.
- ### Scheduled commits

The Docswrite scheduler commits the file at the time you choose.

Details

## Supported fields and publishing options

Exactly what Docswrite sends to GitHub, and when.

### Front matter Docswrite can write

title, excerptFrom the doc and your settings.

author, dateAuthor name and publish date.

featuredImageThe first image in the doc or an image URL.

tags, categoriesLists from the doc or the composer.

keywords, schema typeOptional SEO keywords and a schema.org type (BlogPosting, Article, NewsArticle...).

Custom fieldsAny extra key, e.g. layout: post for Jekyll.

### Drafts and scheduling

Publish nowYes

Save as draftNo: every publish goes live (a GitHub publish is a commit).

ScheduleYes: the Docswrite scheduler publishes at the time you pick. Reschedule or cancel it from the posts board.

Publish againUpdates the same post.

- Composer, API, MCP, Zapier
- Edit in Google Docs
- One calendar for all

Customers

## Teams that stopped copy-pasting

I wish you could have seen the excitement on my employee's face when we sent a document. You've created a really great solution to a huge problem.

![](/testimonials/customer-photos/michael-grant.jpeg)Michael GrantFounder, Get Current StudioDocswrite is great. Have been playing around with it for the last week or so, and we are currently evaluating using it for our entire portfolio of clients (~250 blogs a month) as publishing currently takes up a lot of our team's time.

![](/testimonials/customer-photos/Milena-min.jpeg)Milena ManolovaCOO, Team Color CodesWe managed to grow our daily traffic with 10% for the first month with docswrite! This really saves us a ton of manual work.

![](/testimonials/customer-photos/martin.webp)Martin DimitrovSEO Manager, Brand Palettes

FAQ

## Google Docs to GitHub FAQs

What does Docswrite commit?One Markdown file per doc, named after the slug, with YAML front matter, in the folder and branch you configured.

Can I save drafts to GitHub?No. A publish is a commit, so there is no draft state. Schedule the commit instead if it should land later.

Which static site generators are supported?Any that reads Markdown with front matter. There are presets for Next.js, Gatsby, Jekyll, Hugo and Astro, and a custom option.

What happens when I publish the doc again?Docswrite updates the same file with a new commit.

Related:[Convert Google Docs to Markdown](/tools/google-docs-to-markdown)[Google Docs to Dev.to](/product/google-docs-to-devto)[Google Docs to Hashnode](/product/google-docs-to-hashnode)

[Setup guide](https://docs.docswrite.com)

Save hundreds of hours every month

## Publish to GitHub from Google Docs

Google Docs to WordPress, Webflow, Shopify, Ghost, Medium and more in one click. No more copy-pasting, no more formatting issues.

[Start for free](/accounts/signup)[See pricing](/pricing)

- 5 free exports
- No credit card required

---
Canonical URL: https://docswrite.com/product/google-docs-to-github
Title: Google Docs to GitHub Markdown for Static Sites | Docswrite
Description: Commit Google Docs to a GitHub repo as Markdown with front matter for Next.js, Astro, Hugo, Jekyll or Gatsby. Choose the branch and folder, schedule commits.