Using GitHub Actions To Blog From Your Phone

I haven’t kept up with getting my thoughts onto this blog lately. In an effort to get more ideas out, I implemented a workflow which lets me create blog posts from any mobile device with a GitHub app.

No computer required.

How it works

  1. Create a GitHub issue from my phone with the blog post title and content
  2. Add a new-post label to the issue
  3. GitHub actions automatically converts it to a properly formatted Jekyll post
  4. The post is committed to the repository and the static site is rebuilt

That’s it! The entire publishing workflow handled through GitHub mobile app.

The specific GitHub Action I set up can be found in the create-post-from-issue.yml file in this repository.

Why I love this workflow

The beauty of this approach is in its simplicity. No need for special apps or services. It leverages tools I already use every day. And best of all it’s on the same platform which this static site is hosted on. Chef’s kiss.

Writing blog posts now feels like writing an email or text message. Which hopefully encourages me to publish more regularly.

Sometimes the best solutions aren’t about adding complexity. But about reducing friction.

Have you automated any of your content workflow? I’d love to hear about it!

Note: This post was written on my iPhone 15 Pro!