This is an adder for svelte-add
; you should read its README
before continuing here.
This adder's codename is github-pages
, and can be used like so:
npx svelte-add@latest github-pages
This adder supports only SvelteKit Svelte apps.
dirToPublish
(default build
): defines the folder name that should be published to github pagescustomDomain
: can be set to publish to a custom domain. Must be a FQDN (Fully qualified domain name), without the protocol.After the adder runs,
gh-pages
as source and click save