Publish Command

Once you've recorded and generated assets locally, use the publish command to upload them to your storage provider.

Published Assets
CLI commits showing published visual updates

Basic Usage

Terminal
reshot publish

What It Does

  1. Scans the .reshot/output directory for generated assets
  2. Uploads new or changed assets to your configured storage provider
  3. Commits metadata (scenario names, variants, git hash) to the platform or manifest
  4. Updates the review queue (if using Reshot Platform)

Options

OptionDescription
--dry-runPreview what would be uploaded without uploading
--message, -mCommit message for this publish
--force, -fSkip confirmation prompts
--tag <version>Tag this release for pinned URLs (e.g., --tag v1.2)

Examples

Dry Run

See what would be published without actually uploading:

Terminal
reshot publish --dry-run

With Commit Message

Terminal
reshot publish -m "Updated login screenshots for new design"

With Version Tag (for Versioned Docs)

Create a pinned version that can be referenced in versioned documentation:

Terminal
reshot publish --tag v1.2

This creates pinned URLs: cdn.reshot.dev/assets/{key}?tag=v1.2

Force (Skip Prompts)

Terminal
reshot publish --force

Output

After publishing, you'll see a summary:

Code
📦 Publishing assets...

  ✓ homepage.png (new)
  ✓ login-form.png (changed)
  ○ settings.png (unchanged, skipped)

Published 2 assets to Reshot Platform
Commit: abc123def

What Happens Next

Platform Mode

After publishing, assets enter the review queue in the Reshot Platform:

Visuals Explorer
Published assets are now visible in the Visuals Explorer
  • Assets enter the Review Queue
  • Team members can approve/reject changes
  • Once approved, CDN URLs update automatically

BYOS Mode

  • Assets are uploaded directly to your storage
  • A manifest file is updated with new URLs
  • URLs are immediately available

Always run your scenarios (reshot run) before publishing to ensure assets are up-to-date with your latest code changes.

Publish Command — Reshot Docs | Reshot