{% extends "baseTemplate/index.html" %} {% load static %} {% comment %} Git deployment console. The deploy itself runs in a background worker and reports through a status file, so this page uses the same cpPoll contract as website creation. The webhook secret is fetched by an explicit POST and is never part of the listing response. {% endcomment %} {% block title %}Git deployment{% endblock %} {% block content %}

Git deployment

Deploy straight from a repository into a site's document root. Every command runs as the site's own system user, never as root.

Websites

Attach a repository

A URL containing a username and token is refused: use an ssh deploy key instead, so the credential never lives in the panel database.
Relative names are resolved under the document root. The path must stay inside .

Deployment

Attached repositories

No repository is attached to this site yet.

branch into
last deployed
Automatic deployment is off. The webhook still verifies its signature, and then does nothing.
Add this as a read-only deploy key on the repository. The private half lives only in the site user's ~/.ssh, mode 0600, and is never displayed here.
This endpoint is public, so the secret is what authorises a deploy. CloudPanel verifies the signature with a constant-time comparison, rate-limits each token, and refuses any call that arrives without a signature. Rotating the secret also issues a new payload URL.

Deployment history

When Action Commit Author Result
Nothing has been deployed for this site yet.
{% endblock %} {% block scripts %} {% endblock %}