惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
L
LangChain Blog
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
D
DataBreaches.Net
P
Proofpoint News Feed
小众软件
小众软件
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
雷峰网
雷峰网
G
Google Developers Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
GitHub Actions Automation Pipeline: From Blog Posts to AI...
kanta13jp1 · 2026-04-28 · via DEV Community

kanta13jp1

GitHub Actions Automation Pipeline: From Blog Posts to AI Video Generation

Running a solo dev project means you can't afford to do the same thing twice. I've automated blog publishing, video generation, competitor monitoring, and infrastructure health checks via GitHub Actions. Here's the architecture.

Full Workflow Map

Daily 06:00 JST
  ├── daily-report.yml       → KPI fetch → Slack notification
  ├── cs-check.yml           → pending tickets → AI reply
  └── ai-university-update.yml → RSS feeds → DB update

Weekly Sunday JST
  ├── evaluate-predictions.yml → horse racing accuracy evaluation
  └── weekly-sns-draft.yml    → X post draft generation

Manual / PR-triggered
  ├── blog-publish.yml       → dev.to + Qiita post
  ├── deploy-prod.yml        → Firebase Hosting deploy
  └── video-pipeline.yml     → NotebookLM → ElevenLabs → video

Enter fullscreen mode Exit fullscreen mode

blog-publish.yml: The Orphan Branch Pattern

on:
  workflow_dispatch:
    inputs:
      draft_path:
        description: 'JA draft path'
      draft_path_en:
        description: 'EN draft path'
      platforms:
        default: 'devto'
      dry_run:
        default: 'false'

Enter fullscreen mode Exit fullscreen mode

The key design decision is the orphan branch pattern:

- name: Update published:true
  run: |
    sed -i 's/^published: false/published: true/' "${{ inputs.draft_path }}"
    git commit -m "published: ${{ inputs.draft_path }}"
    git push origin HEAD:blog-publish/${{ github.run_id }}-$(date +%Y%m%d-%H%M%S)

Enter fullscreen mode Exit fullscreen mode

The published: true update goes to a dedicated branch, not main. Claude Code merges it after verifying the post URL. This pattern avoids branch conflicts with parallel instances.

video-pipeline.yml: Fully Automated AI Video

steps:
  - name: Generate script via NotebookLM
    run: notebooklm ask "$TOPIC" > script.md

  - name: Generate audio via ElevenLabs
    run: |
      curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/$VOICE_ID" \
        -H "xi-api-key: $ELEVENLABS_KEY" \
        -d "{\"text\": \"$(cat script.md)\"}" \
        > audio.mp3

  - name: Render video via Remotion
    run: npx remotion render VideoTemplate --props='{"audioFile":"audio.mp3"}'

  - name: Upload to Supabase storage
    run: supabase storage upload videos/$(date +%Y%m%d).mp4 output/video.mp4

Enter fullscreen mode Exit fullscreen mode

NotebookLM generates the script → ElevenLabs converts to audio → Remotion renders the video. Zero manual steps.

cs-check.yml: AI Customer Support

on:
  schedule:
    - cron: '0 */6 * * *'  # every 6 hours

steps:
  - name: Get pending tickets
    run: |
      TICKETS=$(curl -s "$SUPABASE_URL/functions/v1/get-support-tickets" \
        -H "Authorization: Bearer $SERVICE_KEY")

  - name: AI reply via Claude Haiku
    run: |
      echo "$TICKETS" | claude --model claude-haiku-4-5 \
        "Reply to these support tickets. Be helpful and specific."

Enter fullscreen mode Exit fullscreen mode

Every 6 hours: check tickets → Haiku drafts reply → EF posts it. Using Haiku keeps the cost minimal.

Three Design Principles

1. Claude-independent design for cron tasks.

Scheduled workflows don't depend on Claude API availability. API outages don't interrupt operations. Haiku is used for reply drafts, but design/judgment tasks are separated.

2. dry_run on every dispatch workflow.

Every manually dispatched workflow has a dry_run input. New workflows are always verified dry before live.

3. Right concurrency settings per workflow.

deploy-prod uses cancel-in-progress: false (queue, don't drop). blog-publish allows cancellation (duplicate-post prevention is handled by the pre-check step, not concurrency config).

The Result

After full automation, my time on routine operations dropped to near zero. Blog posts, CS responses, competitor monitoring, video generation — all handled by cron. What remains: deciding what to build next. That's the CEO-only model applied to solo dev.