Authenticate with a token
SetREPOST_TOKEN in the environment. It takes priority over any stored credentials, so the same step works on a fresh CI runner or on a developer machine.
Pause forwarding during a deploy
Forwarders can be paused and resumed from the CLI. Pause a forwarder before a deploy so it stops delivering to a service that is restarting, then resume it once the deploy is healthy.See Manage forwarders for the difference between pause, disable, and resume, the interactive selector, and how to list buckets and forwarders.
Run forwarding headless
--headless runs repost forward without the TUI. It prints HEADLESS_READY once the listener is connected, then processes events in the background. Pass --skip-pending so startup does not block on an interactive pending-event decision.
Example: GitHub Actions deploy
Pause the production forwarder while a deploy runs, then resume it. Store the token as a repository secret namedREPOST_TOKEN.
if: always() on the resume step re-enables the forwarder even if the deploy step fails. Pair it with history replay to redeliver anything that arrived while the forwarder was paused.Non-interactive flags
REPOST_TOKEN
Environment auth. Overrides stored credentials. Required on CI runners.
--bucket-slug / --forwarder
Target a bucket and forwarder without prompts. Provide both, or neither.
--skip-pending
Skip the interactive pending-event decision at startup. Required with
--headless.--headless
Run
repost forward with no TUI, printing HEADLESS_READY when connected.