Proving newsletter automation

End-to-end test that publishes and emails via the Ghost CLI.

We deleted our previous test posts so we could demonstrate a fresh, auditable run that sends a newsletter using the Ghost Admin API.

The command we run below should:

  1. Convert this Markdown to HTML (markdown-it).
  2. Publish it immediately (--publish).
  3. Ask Ghost to email the default-newsletter audience (--send-email).
  4. Hit the public URL until we see HTTP 200 with the headline.