@gurupanguji

Plan: Update Social Media Publishing to a Queue System

Objective

Update the automated social media publishing system to act as a queue. This ensures that all posts for a given day are published on the same day, prevents duplicate posts, and handles timing preferences (specifically, waiting for the site build and posting morning posts around 6:00am PT).

Background

Currently, .github/workflows/publish_social.yml runs once a day at 22:00 UTC and only posts the first matching snippet for the current date. scripts/publish_social.py does not track state across runs. We want to convert this into an event-driven and scheduled queue system.

Action Plan

1. Update Python Script (scripts/publish_social.py)

2. Update GitHub Action (.github/workflows/publish_social.yml)

3. Testing & Validation