<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv" -->

---
title: Deploying MkDocs to GitHub Pages with GitHub Actions
description: Learn how to deploy MkDocs to GitHub Pages using GitHub Actions. MkDocs is a static site generator commonly used for storing repository documentation.
canonical: https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Deploying MkDocs to GitHub Pages with GitHub Actions | daily.dev
og:description: Learn how to deploy MkDocs to GitHub Pages using GitHub Actions. MkDocs is a static site generator commonly used for storing repository documentation.
og:url: https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv
og:image: https://api.daily.dev/og/posts/zOxnv0WsV.png
og:image:alt: Deploying MkDocs to GitHub Pages with GitHub Actions
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploying MkDocs to GitHub Pages with GitHub Actions

**[Thomas Thornton](https://daily.dev/sources/thomasthornton)** · 3 min read · 2 upvotes · 0 comments

## Summary

Learn how to deploy MkDocs to GitHub Pages using GitHub Actions. MkDocs is a static site generator commonly used for storing repository documentation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thomasthornton.cloud/2024/05/01/deploying-mkdocs-to-github-pages-with-github-actions/>

---

Tags: [#github-actions](https://daily.dev/tags/github-actions), [#github-pages](https://daily.dev/tags/github-pages)

[View this post on daily.dev](https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Deploying MkDocs to GitHub Pages with GitHub Actions","url":"https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv"},"datePublished":"2024-05-01T09:01:38.890Z","dateModified":"2024-05-09T09:28:18.744Z","description":"Learn how to deploy MkDocs to GitHub Pages using GitHub Actions. MkDocs is a static site generator commonly used for storing repository documentation.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/186f04ba6a456e0ead79daab15b5fbe1?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/186f04ba6a456e0ead79daab15b5fbe1?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Thomas Thornton","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Thomas Thornton","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/03d58f5ec1004427824a8381b15027e8","url":"https://daily.dev/sources/thomasthornton"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/deploying-mkdocs-to-github-pages-with-github-actions-zoxnv0wsv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github-actions,github-pages","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Thomas Thornton","item":"https://daily.dev/sources/thomasthornton"},{"@type":"ListItem","position":3,"name":"Deploying MkDocs to GitHub Pages with GitHub Actions"}]}
```

