メインコンテンツへスキップ
デプロイ履歴の確認と、2 種類の Git ベースのデプロイ連携(webhook トークンまたは Square Cloud GitHub App)の管理を行います。listcurrent では、アプリケーション ID は省略可能で、引数、次に squarecloud.app 設定ファイル、最後にインタラクティブな選択メニューの順で解決されます。webhookgithub link/unlink では、代わりに --app で指定してください。
squarecloud app deploy list
# Lists the most recent deployments, one row per commit.
squarecloud app deploy current <appID>
# Shows the Git integration currently configured for the application, if any.
squarecloud app deploy list --json
# Prints the raw deployment timeline as JSON.
squarecloud app deploy webhook <githubToken> --app <appID>
# Creates a webhook deploy integration and prints the URL to add to your GitHub repository.
squarecloud app deploy webhook --remove --app <appID>
# Removes the configured webhook integration.
squarecloud app deploy github link owner/repository main --app <appID>
# Links a repository and branch through the Square Cloud GitHub App.
squarecloud app deploy github unlink --app <appID>
# Unlinks the GitHub App repository from the application.
このコマンドの詳細については squarecloud app deploy --help を使用してください。