Deploy a Workspace from a GitHub Repository
A Workspace can follow a GitHub repository the way a server follows its deploy branch: link the repository once, and every push to the branch updates the Workspace. Developers change the Workspace by committing to the repository; nobody uploads a file or clicks an update.
What Goes in the Repository
The repository holds the Workspace's Blueprint, in any one of these forms:
| Form | What it is |
|---|---|
manor.json source folder | The Blueprint split into one file per agent, skill, workflow and scheduled job, with prompts as Markdown. Best for review and diffs. |
blueprint.json | The Blueprint as a single exported file. |
*.manor | The Blueprint as a package, with its starter files inside. |
Export any of them from an existing Workspace and commit the result. The
files can sit at the top of the repository or in a folder such as
blueprint/.
A Dockerfile (or a plain Node or Python app) in the same folder is built
and released as the Workspace's own server on deployments that offer one. A
repository with only a Blueprint needs no Dockerfile.
No access key, secret or workflow file goes in the repository.
Link the Repository
Open the Workspace, then Develop › Code repository.
- Connect GitHub under Settings › Integrations. Manor uses your connection to read a private repository and to set up push notifications.
- Paste the repository link, for example
https://github.com/acme/store-ops. A link to a branch or a folder works too:https://github.com/acme/store-ops/tree/release/blueprint. Manor reads the newest commit and shows what it found. - Link and deploy. Manor installs that commit into the Workspace and adds a push webhook to the repository on GitHub.
From then on, just push. Each push to the linked branch is deployed within seconds, and the page updates as the deploy moves.
A public repository can be linked without a GitHub connection. Manor then cannot add the webhook itself; see When the Webhook Cannot Be Added.
What a Deploy Does
Each deploy runs the same steps, and the deploy history shows them:
- Read the commit from GitHub.
- Build and release the server, when the commit has one.
- Publish the Blueprint as the Workspace's next release.
- Update the Workspace to that release. The repository's changes are applied, and edits made directly in the Workspace are kept.
A deploy is rehearsed before it is applied. If any step fails, the Workspace stays exactly as it was, and the deploy says which step stopped and why. Fix the repository and push again, or click Retry.
Pushes that arrive while a deploy is running are not lost: the newest one is deployed as soon as the running deploy ends.
Go Back to an Earlier Deploy
Every successful deploy in the history has a Roll back button. It returns the Workspace to that deploy's Blueprint release (and server version) without building anything. The Workspace stays there until the next push is deployed.
Turn Automatic Deploys Off
The Deploy on push switch stops pushes from deploying. The link stays, and Deploy now still deploys the branch's newest commit on request.
When the Webhook Cannot Be Added
Manor adds the webhook with the GitHub connection of the person who links the repository. When it cannot, the link and the first deploy still succeed, and the page says why:
| Reason | What to do |
|---|---|
| You have not connected GitHub | Connect it, then click Try again. |
| Your GitHub account is not an admin of the repository | Ask a repository admin to connect GitHub and click Try again, or add the webhook by hand. |
| The repository is archived on GitHub | An archived repository is read-only: it takes no webhook and no new commits. Deploy what it holds with Deploy now, or unlink and link a live repository. |
| GitHub cannot reach this Manor's address | Typical for a local install. Deploy with Deploy now, or give the installation a public HTTPS address (APP_URL). |
| GitHub could not be reached | Click Try again. |
To add the webhook by hand, open the repository on GitHub, then
Settings › Webhooks › Add webhook, and enter the Payload URL and Secret
shown on the page. Choose content type application/json and Just the
push event. Manor accepts only deliveries signed with that secret.
Unlink
Unlink stops deploying from the repository and removes the webhook from GitHub. What was already deployed stays in the Workspace, and so does the deploy history.
Private Repositories
A private repository is read with a person's GitHub connection: yours while you inspect, link or deploy by hand, and the linking person's for deploys a push starts. The token is used for that read and is never stored with the link. If that connection is removed, the next deploy stops at the first step and asks to reconnect GitHub; the Workspace is unchanged.
From a Coding Agent
The Manor plugin for Claude Code and Codex exposes the same actions as
tools, so an agent working in the repository can link it for you:
inspect_workspace_repository, link_workspace_repository,
get_workspace_repository, deploy_workspace_repository,
rollback_workspace_repository, set_workspace_repository_auto and
unlink_workspace_repository. See Coding agents.