npx degit sveltejs/template svelte-on-github-pages
scripts/ghPagesDeploy.js
and .github/workflows/gh-pages-deploy.yaml
)execa
with version latest
to package.json
. (See package.json
)gh-pages-deploy
command to package.json
. (See package.json
)gh-pages
branch.main
branch will now trigger a rebuild of your pages site.If you're having trouble, refer to this repository's code.