> ## 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

> Verwaltet Deploys und Git-Integrationen deiner Anwendung auf Square Cloud.

Zeigt den Deploy-Verlauf an und verwaltet die beiden Git-basierten Deploy-Integrationen: ein Webhook-Token oder die Square Cloud GitHub App. Bei `list` und `current` ist die Anwendungs-ID optional und wird aus dem Argument, dann aus der `squarecloud.app`-Konfigurationsdatei, dann über eine interaktive Auswahl ermittelt; `webhook` sowie `github link`/`unlink` nehmen sie stattdessen mit `--app` entgegen.

```bash theme={null}
squarecloud app deploy list
# Listet die neuesten Deploys auf, eine Zeile pro Commit.
```

```bash theme={null}
squarecloud app deploy current <appID>
# Zeigt die aktuell konfigurierte Git-Integration der Anwendung an, falls vorhanden.
```

```bash theme={null}
squarecloud app deploy list --json
# Gibt die rohe Deploy-Zeitleiste als JSON aus.
```

```bash theme={null}
squarecloud app deploy webhook <githubToken> --app <appID>
# Erstellt eine Webhook-Deploy-Integration und gibt die URL aus, die du zu deinem GitHub-Repository hinzufügen musst.
```

```bash theme={null}
squarecloud app deploy webhook --remove --app <appID>
# Entfernt die konfigurierte Webhook-Integration.
```

```bash theme={null}
squarecloud app deploy github link owner/repository main --app <appID>
# Verknüpft ein Repository und einen Branch über die Square Cloud GitHub App.
```

```bash theme={null}
squarecloud app deploy github unlink --app <appID>
# Trennt das GitHub-App-Repository von der Anwendung.
```

Verwende `squarecloud app deploy --help` für weitere Informationen zu diesem Befehl.
