Previous: Rsync, Up: Publishers [Contents][Index]
(use-modules (haunt publisher sourcehut))
Return a new publisher named name that publishes a site to
sourcehut pages using the site’s configured
domain. Passing hut and/or tar overrides the default
hut
and tar
executables used.
For the publisher to work, the hut
CLI tool that is used
under the hood has to be configured. One can do so by creating
~/.config/hut/config manually or by running the hut
init
command. In both cases an OAuth access token needs to be
generated via sourcehut meta.