Setting up the pipeline

I’ve been meaning to try and set up a pipeline that achieves the following:

  • I write all my blog posts in Markdown and store them in a Github repository
  • Github actions creates a new github page on my staging blog
  • This is then pushed to WordPress, where a new post is created
  • The WordPress post is then promoted on Mastodon

I think I’m mostly there, but am still debugging. I’ve had two mostly working solutions, but neither meets all the requirements yet.