Skip to content

Commit 870851b

Browse files
Copilotbrunoborges
andauthored
docs: update social post schedule references to Monday and Thursday
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent c3da445 commit 870851b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

secrets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Used by GitHub Copilot integrations. Not currently referenced in any workflow fi
2525

2626
### Twitter / X Secrets
2727

28-
Used for automated weekly social media posting of Java pattern updates to X (Twitter) via the X API v2.
28+
Used for automated twice-weekly social media posting of Java pattern updates to X (Twitter) via the X API v2.
2929

30-
- **Workflow:** [`.github/workflows/social-post.yml`](.github/workflows/social-post.yml) — runs every Monday at 14:00 UTC
30+
- **Workflow:** [`.github/workflows/social-post.yml`](.github/workflows/social-post.yml) — runs every Monday and Thursday at 14:00 UTC
3131
- **Post script:** [`html-generators/socialpost.java`](html-generators/socialpost.java)
3232
- **Spec:** [`specs/social-posts-spec.md`](specs/social-posts-spec.md)

specs/social-posts-spec.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Automated Weekly Social Posts — Specification
1+
# Automated Twice-Weekly Social Posts — Specification
22

33
## Problem
4-
Post one pattern per week to X/Twitter, covering all 113+ patterns (~2.2 years of content). Fully automated via GitHub Actions with no manual steps.
4+
Post one pattern twice a week to X/Twitter, covering all 113+ patterns. Fully automated via GitHub Actions with no manual steps.
55

66
## Approach
77
Use a **GitHub Actions scheduled workflow** that:
88
1. Reads a pre-shuffled queue file (`social/queue.txt`) listing all pattern keys
9-
2. Each Monday, picks the next unposted pattern, posts to X/Twitter
9+
2. Each Monday and Thursday, picks the next unposted pattern, posts to X/Twitter
1010
3. Commits the updated state back to the repo to track progress
1111
4. When all patterns are exhausted, reshuffles and starts over
1212

@@ -56,7 +56,7 @@ JBang script that:
5656
### 3. GitHub Actions Workflow
5757
**File:** `.github/workflows/social-post.yml`
5858

59-
- Schedule: every Monday at 14:00 UTC (10 AM ET)
59+
- Schedule: every Monday and Thursday at 14:00 UTC (10 AM ET)
6060
- Manual dispatch support (`workflow_dispatch`)
6161
- Concurrency group prevents double-posts
6262
- Commits updated state back to repo

0 commit comments

Comments
 (0)