squarecloud app deploy connects an application to GitHub so that a push deploys it. There are two ways to do it:
- The Square Cloud GitHub App (
app deploy github link): install the app on your repository, then link the repository and a branch. - A webhook (
app deploy webhook): give a GitHub access token and add the URL the CLI prints to your repository’s webhooks.
[appID] and --app are optional: see how the CLI finds your app.
squarecloud app deploy github link
Usage
Output
squarecloud app deploy github unlink
Usage
squarecloud app deploy webhook
Usage
Creates a webhook deploy integration from a GitHub access token (
ghp_... or github_pat_...) and prints the URL to add as a webhook in your repository settings.
Output
squarecloud app deploy current
Usage
No Git integration configured for this application.
Output
squarecloud app deploy list
Usage

