# Publish resources to target environment (/api-reference/environments/publish-resources-to-target-environment)

Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.

{/* This file was generated by scripts\/generate-docs.mjs. Do not edit this file directly. Regenerate with pnpm run build:docs. */}

<APIPage document={"content/openapi/novu-spec.json"} operations={[{"path":"/v2/environments/{targetEnvironmentId}/publish","method":"post"}]} webhooks={[]} hasHead={false} />
