Skip to content

Using Deployments

This guide is for the people who keep your site’s add-on packages up to date: operators who connect the deployment repository and watch what gets published, and owners deciding how releases are applied. No technical knowledge needed. Every step uses the labels you see on screen. The page lives under System > Deployment Repository.

How to connect your repository to a Git provider

Section titled “How to connect your repository to a Git provider”
  1. Go to System > Deployment Repository.
  2. If nothing is connected yet you see the message “No deployment repository is connected. Choose a Git provider above to connect the repository used for plugin deployments.”
  3. Fill in Repository owner or group. This is the account or team that owns the repository.
  4. Fill in Repository name. This is the name of the repository itself.
  5. Choose your provider by clicking Connect GitHub Repository, Connect GitLab Repository, or Connect Bitbucket Repository.
  6. Complete the sign-in for that provider when it asks you to. Once you approve, you are returned to the page and the repository is connected.

An operator starts the Git provider sign-in used to connect the repository for package install pull requests.An operator starts the Git provider sign-in used to connect the repository for package install pull requests.

How to see whether a repository is connected

Section titled “How to see whether a repository is connected”
  1. Go to System > Deployment Repository.
  2. If a repository is connected, the page shows Connected to {provider}: {repo} near the top, along with a Disconnect button.
  3. If nothing is connected, you instead see the message “No deployment repository is connected. Choose a Git provider above to connect the repository used for plugin deployments.” and the three provider buttons.

How to review recent publishes and read their statuses

Section titled “How to review recent publishes and read their statuses”
  1. Go to System > Deployment Repository.
  2. Look at the Recent publishes section. Each row shows the Package, the Reference, the Repository checks, when it was Published, and any available Actions.
  3. The Reference links to a pull request when one exists; otherwise it shows the recorded commit or branch reference.
  4. Read Repository checks for evidence about the recorded commit:
    • Pending: checks are running, absent, incomplete, unavailable or unrecognised. Successful check evidence has not been established.
    • Passed: the provider returned complete successful repository checks for the recorded commit. This does not verify merge, installation or the live site.
    • Failed: repository checks include a non-passing terminal result, including cancellation or skipping. Inspect the provider evidence with your developer.
    • Cancelled: the publish was stopped before it finished.
    • Requirement-change preview: the proposed package and version constraint were prepared after syntax and repository-policy checks. Composer compatibility, lockfile changes, installation, lifecycle checks, tests and deployment remain unverified.
  5. If nothing has run yet you see “No Composer requirement publishes have been recorded for this repository yet.”
  1. Go to System > Deployment Repository and find the row in Recent publishes.
  2. An eligible pull-request publication shows a Cancel button in its Actions. Requirement-change previews, completed publications, and rows without a pull request cannot be cancelled here.
  3. Click Cancel.
  4. Confirm when asked “Cancel this pending deployment publication pull request?”
  5. The publish stops and its status moves to Cancelled.
  1. Go to System > Deployment Repository before connecting a repository.
  2. Choose the Install policy that matches how you want package changes applied.
  3. The selected policy is included when you use one of the provider connection actions; it is not saved separately on the page, so to change it you disconnect and connect the repository again.
  4. The Default branch field works the same way: it defaults to main, is used as the base and merge target for publishes, and is set only when you connect.
  1. Go to System > Deployment Repository.
  2. Click Disconnect next to Connected to {provider}: {repo}.
  3. Confirm when asked “Are you sure you want to disconnect this deployment repository?”
  4. The repository is disconnected. To start again, connect a provider as above.
  • Connect the deployment repository. Nothing happens here until a repository is connected. Enter the Repository owner or group and Repository name, enter the Default branch if it is not main, choose the Install policy, pick a provider with Connect GitHub Repository, Connect GitLab Repository, or Connect Bitbucket Repository, and complete the sign-in. This is the repository where Composer requirement changes are published. While this is the only active repository, installing or updating an extension from the Marketplace as a global administrator publishes its requirement here when the change needs a deployment, and it appears in Recent publishes. Uninstalling a Marketplace extension with Delete package from Composer removes its requirement from composer.json the same way, using the approval you gave when you queued the uninstall; if it cannot (no repository, several repositories, a site-scoped administrator, or the permission revoked before the queue ran), Marketplace tells you to remove the requirement yourself. Without exactly one active repository, the Marketplace shows the Composer command to run instead; connecting a second repository therefore stops publishing until you disconnect one, and the page shows a warning while more than one is connected. Only extensions that have a repository URL are published on update. You also need an OAuth app registered with GitHub, GitLab or Bitbucket and its client ID and secret in the configuration below, or the connect buttons stay disabled.
  • Install policy. Decide how package changes are handled once they are published. Pick the option that fits how cautious you want to be before you connect; the choice is applied when the connection is made. Use Save branch and policy on the connection to change it without reconnecting. On Bitbucket, auto-merge is not performed: the pull request is opened and a person merges it. When in doubt, prefer the safer choice and review publishes in Recent publishes before relying on them.
  • Use Recent publishes as your status view. Passed means complete successful repository checks were observed for the recorded commit; verify merge, installation and the live site separately. Pending also covers absent, unavailable, incomplete or unrecognised check evidence; inspect the repository before progressing. Failed is the one to act on: tell your developer. A Requirement-change preview shows the proposed change and lists the checks still required. Follow the host verification workflow before treating the requirement as compatible.
  • Publishes to one repository run one at a time, so two installs never overwrite each other’s requirement. The lock lives in the cache. When more than one server can publish, set CAPELL_DEPLOYMENTS_PUBLISH_LOCK_STORE to a cache store every server shares, such as redis, database or memcached. A file or array store only serialises publishes on one server. Every commit also checks that the branch has not moved since composer.json was read, so a requirement is never overwritten, but without a shared store busy publishes are retried instead of queued. A publish waits up to CAPELL_DEPLOYMENTS_PUBLISH_LOCK_WAIT_SECONDS (15 by default) for another to finish, then asks you to try again.
KeyEnvironment variableDefaultPurpose
enabledCAPELL_DEPLOYMENTS_ENABLEDtrueRegisters the admin page, dashboard widget and Marketplace publisher.
http_timeoutCAPELL_DEPLOYMENTS_HTTP_TIMEOUT10Seconds each provider request may take; also sizes the publish lock.
publish_lock_wait_secondsCAPELL_DEPLOYMENTS_PUBLISH_LOCK_WAIT_SECONDS15How long a publish waits for another publish to the same repository.
publish_lock_storeCAPELL_DEPLOYMENTS_PUBLISH_LOCK_STOREdefault cache storeCache store for the publish lock. Servers that publish to one repository must share it (redis, database or memcached).
pending_timeout_hoursCAPELL_DEPLOYMENTS_PENDING_TIMEOUT_HOURS24Hours a publication’s checks may stay pending before it is marked timed out.
  • Use Disconnect to stop using a repository. You can reconnect later. Disconnecting does not undo changes that have already been published.
What you seeWhat it meansWhat to do
”No deployment repository is connected. Choose a Git provider above to connect the repository used for plugin deployments.”No repository is connected yetEnter the Repository owner or group and Repository name, then click Connect GitHub Repository, Connect GitLab Repository, or Connect Bitbucket Repository and complete the sign-in
A publish shows FailedRepository checks did not passTell your developer and share the Repository checks and recorded Reference
A publish stays on PendingChecks are pending or evidence is incompleteInspect the provider reference before progressing; cancel it only when its eligible pull-request row shows Cancel
”No Composer requirement publishes have been recorded for this repository yet.”Nothing has been published for this repositoryThis is normal for a new connection; it fills in once changes are published
You expected a change but see a Requirement-change previewOnly a requirement-change preview was preparedAsk your developer to run Composer resolution, review the lockfile and complete host lifecycle, test and deployment checks
The Disconnect button is missingNo repository is connectedConnect a provider first; Disconnect only appears once Connected to {provider}: {repo} is shown

Previously stored Passed results remain Pending until their evidence is revalidated. Missing totals, malformed responses, incomplete pagination or unavailable provider evidence cannot establish Passed. Checks from GitHub include both check runs and commit-status contexts. Evidence collection reads up to 20 pages per list; larger responses stay Pending rather than claiming a complete check.