Previous: Invoking haunt serve
, Up: Command-line Interface [Contents][Index]
haunt publish
The haunt publish
command deploys the site to a remote
location. The site must have already been built via haunt
build
before running haunt publish
.
Usage:
haunt publish
By default, Haunt uses the publisher named production
defined
for the current site. However, Haunt supports multiple publishers.
Consider the use case where an author wants to publish to a staging
environment to confirm that everything looks good on a real web server
before publishing to production. To use a non-production publisher,
simply say so at the command line:
haunt publish staging
For details on how to configure publishers, see Publishers.