Skip to main content
Set POSTINGER_API_KEY to a key from API Keys. It’s used instead of a saved login, and nothing is written to disk.
POSTINGER_API_URL (or --api-url) points the CLI at another server.

GitHub Actions

Publish a post each time you tag a release:
.github/workflows/announce.yml
Pass event fields through env, as above, and never write ${{ ... }} straight into run. GitHub pastes those into the script before the shell runs it, so a release title with $(...) or backticks in it would run as a command.
--idempotency-key makes a re-run of the job within 24 hours safe: the release isn’t posted twice. Keys are kept for 24 hours, so a re-run after that posts it again. To guard against that too, record which release you’ve posted (a release asset, a repository variable) and check it first. See Idempotency.

In scripts

Use --json and read stdout; progress and errors go to stderr. Check the exit code: