reference ·
oto publish --help at v0.6.1oto publish
push the built store to a read-only query repository
oto publish [-h] [--project PROJECT] --repo REPO [--branch BRANCH] [--source SOURCE]
[--engine ENGINE] [--site]
Options
| Option | What it does |
|---|---|
--project PROJECT | project root (default: current directory) |
--repo REPO | the query repository: an https URL, ssh URL or local path |
--branch BRANCH | |
--source SOURCE | what produced it, e.g. org/knowledge@<sha>, recorded in the manifest |
--engine ENGINE | engine repository named in the store's README |
--site | also push build/site/ (from `oto build --target site`) as site/ beside the store |
Where to use it
Readers need answers, not documents.
oto publish --project claims --repo https://github.com/<org>/claims-querypushes the built store to a read-only query repository; the deploy workflow does this on merge
With the static site beside it.
oto publish --project claims --repo https://github.com/<org>/claims-query --sitealso pushes build/site/ as site/
As the terminal prints it
usage: oto publish [-h] [--project PROJECT] --repo REPO [--branch BRANCH] [--source SOURCE]
[--engine ENGINE] [--site]
options:
-h, --help show this help message and exit
--project PROJECT project root (default: current directory)
--repo REPO the query repository: an https URL, ssh URL or local path
--branch BRANCH
--source SOURCE what produced it, e.g. org/knowledge@<sha>, recorded in the manifest
--engine ENGINE engine repository named in the store's README
--site also push build/site/ (from `oto build --target site`) as site/ beside the
store