Urgent.News

What's breaking now, across thousands of outlets.

Tech

Implementing a Multi‑Platform Content Automation Pipeline with JSON Metadata and GitHub Actions

Implementing a Multi‑Platform Content Automation Pipeline with JSON Metadata and GitHub Actions TL;DR: I added a structured metadata.json and a small Node.js runner that reads platform‑specific markdown files, publishes them to Medium, Substack and Bluesky, and then flips the corresponding flags in the JSON. The change makes the whole “write once, publish everywhere” workflow deterministic and…

The article discusses the process of creating a multi-platform content automation pipeline using JSON metadata and GitHub Actions. The author faced challenges with manually copying and pasting the same article to different publishing platforms (Medium, Substack, Bluesky) and keeping a changelog in the repository. The manual process led to issues like missing changelog entries, inconsistent state, and error-prone copy-paste.

The author initially tried a bash script for automation, but it stopped on the first failed curl call, leaving the other platforms untouched, and required manual updates for adding new platforms. The author then implemented a more robust solution by centralizing state in a JSON file (metadata.json) that tracks whether the article has been generated for each platform and stores the URIs returned by the APIs. This change made the workflow deterministic, CI-driven, and eliminated the need for manual updates.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Understanding Coefficient of Variation

Understanding Coefficient of Variation (CV): A Comprehensive Guide In the realm of data analysis, various statistical measures assist in unraveling the nature of datasets.

Feature Flags Comparison 2026 for Free Tools and Paid Game Notification Recovery

Short answer: choose a free or open-source flag service when your team can preserve the rollout evidence around each notification attempt.

  • Critical evidence trail links flag variant to notification ID and delivery outcome
  • Tools like OpenTelemetry separate logs from metrics for better failure pattern analysis
  • Paid solutions offer polished interfaces, support, and audit logs for efficient incident resolution

More from Sunday 1 November →