mix blog.publish (StaticBlog v0.2.0)

Copy Markdown View Source

Builds the blog and syncs the output directory to the configured R2 bucket.

mix blog.publish [--output DIR] [--skip-build]

R2 credentials are read from environment variables (configurable via config :static_blog, :r2_env_vars). The defaults are:

  • R2_ACCOUNT_ID
  • R2_ACCESS_KEY_ID
  • R2_SECRET_ACCESS_KEY