pols deploys
Start, list and follow a site's deploys
A site imported from a GitHub repository (pols sites import) is built by deploys: pols fetches the commit into a build sandbox of your org, runs the project’s install and build commands there, publishes the output as the site’s new live version and deletes the sandbox. The build is billed as sandbox time. Pushes to the site’s branch deploy again by themselves; your org builds one deploy at a time, so the others wait as queued.
Usage
pols deploys [command]
Subcommands
| Command | Description |
|---|---|
pols deploys log |
Print a deploy’s build log |
pols deploys ls |
List a site’s deploys, newest first |
pols deploys start |
Deploy the head of a site’s source branch |
Flags
-h, --help help for deploys
pols deploys log
Print the build log of a deploy (its number or ID; default the newest),
with vault values and common token formats redacted. --follow prints what
comes until the deploy is over, and fails when it did not get ready.
Usage
pols deploys log SITE [DEPLOY] [flags]
Examples
pols deploys log my-site --follow
pols deploys log my-site 3
Flags
-f, --follow keep printing until the deploy is over
-h, --help help for log
pols deploys ls
List a site’s deploys, newest first
Usage
pols deploys ls SITE [flags]
Flags
-h, --help help for ls
--limit int how many deploys, 1 to 100 (default 20)
pols deploys start
Deploy the head of a site’s source branch
Usage
pols deploys start SITE [flags]
Examples
pols deploys start my-site
Flags
-h, --help help for start
The global flags work with this command too.