The article discusses the author's journey in building a one-command publishing pipeline for their blog using GitHub Actions and Supabase. Here are the key points:
Problem Statement:
- The author wanted to streamline the process of publishing articles across multiple platforms (Qiita, Zenn, and dev.to) with minimal effort.
Solution Overview:
-
GitHub Workflow (
blog-publish.yml):- A GitHub Actions workflow that automates the entire process from fetching a draft article to posting it on various blogging platforms.
-
Supabase
schedule-hub:- A Supabase function used as an API endpoint for dispatching articles.
Workflow Breakdown:
-
Step 0: Dispatch Command
- The author uses the GitHub CLI (
gh) to trigger the workflow with specific parameters like draft path and platforms.
- The author uses the GitHub CLI (
-
Step 1: Fetch Draft Article
- The workflow fetches a markdown file from the repository, which contains the article content.
-
Step 2: Parse Front Matter
- It extracts metadata such as title, tags, and topics from the front matter of the markdown file.
-
**Step 3: Dispatch to Platforms
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



