Skip to content
Discussion options

You must be logged in to vote

Hi @githubUser01946!

It is done here directly, with GitHub Actions. I set up an Action that runs every hour, and this Action just launches the script that selects a line from the file and posts it on Twitter and Mastodon.

This is the Action: https://github.com/jesusjimsa/beatles-lyrics-every-hour/blob/master/.github/workflows/send_tweet.yml

There is also a limitation from GitHub that disables Actions on repositories that haven't been active for a month (no commits). So I also set up an action that creates a dummy commit and pushes it. It just writes the current date once a month to keep everything running.

This is the one for dummy commits: https://github.com/jesusjimsa/beatles-lyrics-eve…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jesusjimsa
Comment options

You must be logged in to vote
1 reply
@jesusjimsa
Comment options

Comment options

You must be logged in to vote
2 replies
@jesusjimsa
Comment options

@githubUser01946
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants