connect_repo
Publish a site from a GitHub repository and republish it on every push. Works with private repositories. The first time, it returns a link the person opens to let Hostlo read their repositories; after they have, call it again. No builds are run: the folder is published as it is (found automatically, or given).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | The GitHub repository, as owner/name (for example maria/bakery) or its github.com URL. | |
| site | Yes | The site to publish. | |
| branch | No | The branch to follow. Leave out for the repository's default branch. | |
| folder | No | The folder holding the site, such as dist or public. Leave out to have it found; "/" means the repository root, which makes every web file in the root public. |