Wiring and bindings
grid wire
Section titled “grid wire”Bind things together.
grid wire <subcommand>| Subcommand | Usage | Description |
|---|---|---|
folder |
grid wire folder [entity] |
Bind the current folder to an existing entity (same as grid link). |
repo |
grid wire repo [github-url] |
Bind a GitHub repo for auto-deploy on push. |
hook |
grid wire hook [url] |
Subscribe a webhook URL to entity events. |
inspire |
(not yet supported) | Bind an inspiration source to a runtime. |
agent-reads |
(not yet supported) | Bind agent read sources. |
grid wire repo https://github.com/org/repogrid wire hook https://hooks.slack.com/...GitHub auto-deploy
Section titled “GitHub auto-deploy”After wiring a repo, every push to the bound branch triggers a build and deploy on
the server automatically — you do not need to run grid plug yourself. Install
the CloudGrid GitHub App on the repository first, then:
grid wire repo https://github.com/your-org/your-repoYou can also declare connectors, hooks, and triggers directly in
cloudgrid.yaml — see the
yaml reference.