squarecloud app deploy connecte une application à GitHub pour qu’un push la déploie. Il existe deux façons de le faire :
- La GitHub App de Square Cloud (
app deploy github link) : installez l’app sur votre dépôt, puis liez le dépôt et une branche. - Un webhook (
app deploy webhook) : fournissez un jeton d’accès GitHub et ajoutez l’URL affichée par la CLI aux webhooks de votre dépôt.
[appID] et --app sont facultatifs : consultez comment la CLI trouve votre application.
squarecloud app deploy github link
Utilisation
Sortie
squarecloud app deploy github unlink
Utilisation
squarecloud app deploy webhook
Utilisation
Crée une intégration de déploiement par webhook à partir d’un jeton d’accès GitHub (
ghp_... ou github_pat_...) et affiche l’URL à ajouter comme webhook dans les paramètres de votre dépôt.
Sortie
squarecloud app deploy current
Utilisation
No Git integration configured for this application.
Sortie
squarecloud app deploy list
Utilisation

