Previous: , Up: Publishers   [Contents][Index]


5.5.2 Sourcehut

(use-modules (haunt publisher sourcehut))
Procedure: sourcehut-publisher [#:name 'production] [#:hut] [#:tar]

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.