hyperctl publish command
Overview
The hyperctl generate command performs an incremental build and deploys the resulting build output to the configured provider.
Usage
1$ hyperctl publish -h
2Publish a single page build to a HyperProvider.
3
4Usage:
5 hyperctl publish [options] <content>
6
7Options:
8 -c, --config Path to the website configuration file. (required) (env: HYPER_CONFIG)
9 -p, --page Path to the content index file. (required)
10 --content-dir Relative path to the content directory to use for the build (overwrites site.config.content_dir). (env: HYPER_CONTENT_DIR)
11 --data-dir Relative path to the data directory to use for the build (overwrites site.config.data_dir). (env: HYPER_DATA_DIR)
12 --static-dir Relative path to the static directory to use for the build (overwrites site.config.static_dir). (env: HYPER_STATIC_DIR)
13 --theme Relative path to theme config to use for the build (overwrites site.config.theme). (env: HYPER_THEME)
14 -h, --help Display help information.
Options
-c,--config- Path to the website configuration file (
site.yamlorsite.json).Defaults to the
HYPER_CONFIGenvironment variable, if set.To configure a default, use the
exportcommand.1export HYPER_CONFIG="site.yaml" -p,--page- The path to the page index file to use for the build.
The
--pageargument is required to perform an incremental build. --content-dir- Relative path to the content directory to use for the build (overwrites
site.config.content_dir). Uses theHYPER_CONTENT_DIRenvironment variable as a default value, if set.NEW! the
--content-dirflag is available inhyperctlversion 0.17.0 and later. --data-dir- Relative path to the data directory to use for the build (overwrites
site.config.data_dir). Uses theHYPER_DATA_DIRenvironment variable as a default value, if set.NEW! the
--data-dirflag is available inhyperctlversion 0.17.0 and later. --static-dir- Relative path to the static directory to use for the build (overwrites
site.config.static_dir). Uses theHYPER_STATIC_DIRenvironment variable as a default value, if set.NEW! the
--static-dirflag is available inhyperctlversion 0.17.0 and later. --theme- Relative path to theme config to use for the build (overwrites
site.config.theme). Uses theHYPER_THEMEenvironment variable as a default value, if set.NEW! the
--themeflag is available inhyperctlversion 0.17.0 and later.