Skip to content

Connect git & deploy

managed.dev deploys from git. You add a remote, push a branch, and the platform builds the commit and rolls it onto the right environment. There’s no Docker, no registry, and no deploy key to manage — the platform detects, builds, signs, and rolls the artifact for you.

Every site has a managed.dev git remote. Copy it from the site’s Deploys tab in the dashboard, then add it to your local clone.

  1. Open your site in the dashboard and copy the git remote URL.
  2. Add it as a remote named managed.
  3. Push your default branch to deploy production.
Add the managed.dev remote
# from your project root
git remote add managed git@git.managed.dev:acme-team/acme-store.git
git remote -v
Deploy production
git push managed main

The branch you push determines the target. By default the rule is simple, and you refine it with branch routes:

You push… …and managed.dev Target
your default branch (main) builds and deploys the live site production
any other branch provisions an isolated, production-seeded environment preview
a branch routed to staging builds and deploys the singleton staging env staging
a branch routed to ignore builds and deploys nothing

A push to main is a production deploy. A push to feature/checkout provisions a preview environment with its own database and files, cloned from production, and returns a live URL.

Every push triggers a build. The platform detects what the repo is — Bedrock, vanilla WordPress, or a static site — builds it in an isolated sandbox, and content-addresses and signs the artifact before rolling it onto the target.

The push returns a deploy job that runs asynchronously. You can watch it complete in the dashboard, or follow it through the API as an async job. When it finishes, the environment serves the new commit.

acme-store — git push managed
~/acme-store ❯ git push managed feature/checkout
Enumerating objects: 41, done.
Writing objects: 100% (28/28), 6.2 KiB, done.
managed.dev  ▸ detected runtime: bedrock
managed.dev  ▸ building artifact in sandbox
managed.dev  ▸ provisioning environment for feature/checkout
managed.dev  ▸ cloning database + files from production
managed.dev  ✓ deploy job_01J9F2K7QH succeededhttps://acme-store-feature-checkout-a1b2c3.preview.managed.dev

The git-deploy flow targets the bedrock profile — a Bedrock-structured WordPress repo with Composer dependencies. Vanilla and static profiles deploy through the same push model. The platform inspects the repo on each push, so you don’t declare the runtime yourself; see runtimes for what’s detected.