> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# squarecloud app deploy

> Manages deployments and Git integrations for your application on Square Cloud.

Inspects deployment history and manages the two Git-based deploy integrations: a webhook token or the Square Cloud GitHub App. For `list` and `current`, the application ID is optional and resolved from the argument, then the `squarecloud.app` config file, then an interactive picker; `webhook` and `github link`/`unlink` take it with `--app` instead.

```bash theme={null}
squarecloud app deploy list
# Lists the most recent deployments, one row per commit.
```

```bash theme={null}
squarecloud app deploy current <appID>
# Shows the Git integration currently configured for the application, if any.
```

```bash theme={null}
squarecloud app deploy list --json
# Prints the raw deployment timeline as JSON.
```

```bash theme={null}
squarecloud app deploy webhook <githubToken> --app <appID>
# Creates a webhook deploy integration and prints the URL to add to your GitHub repository.
```

```bash theme={null}
squarecloud app deploy webhook --remove --app <appID>
# Removes the configured webhook integration.
```

```bash theme={null}
squarecloud app deploy github link owner/repository main --app <appID>
# Links a repository and branch through the Square Cloud GitHub App.
```

```bash theme={null}
squarecloud app deploy github unlink --app <appID>
# Unlinks the GitHub App repository from the application.
```

Use `squarecloud app deploy --help` for more information about this command.
