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.
Add the remote
Section titled “Add the remote”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.
- Open your site in the dashboard and copy the git remote URL.
- Add it as a remote named
managed. - Push your default branch to deploy production.
# from your project rootgit remote add managed git@git.managed.dev:acme-team/acme-store.gitgit remote -vgit push managed mainWhat a push does
Section titled “What a push does”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.
The build runs automatically
Section titled “The build runs automatically”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 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
Supported repositories
Section titled “Supported repositories”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.