markdown-tweet-scheduler
markdown-tweet-scheduler copied to clipboard
Queueing system will post the same tweet post if user doesn't rename the file after posting
Queueing system shouldn't be used until this is fixed (Post by date should be unaffected)
The github action doesn't rename the file in the repo, so it will just post the highest priority tweet every day (q-1).
After posting a queued tweet, we have to automatically:
- rename the file to something that doesn't start with
q-, ideally the name should be updated to the date it was posted - commit the name change and,
- push the updated file to the repo.
Otherwise, at the next run it will attempt to tweet the same thing again.
https://github.com/stefanzweifel/git-auto-commit-action
In order for that to work, we will need to split the tweet by queue out from the split by date code
If a queued tweet is posted, the workflow needs to do rename the queued file to the correct date convention using the git auto commit action