sbt plugin to publish GitHub Pages with minimal effort.
project/plugins.sbt, add the following line,
gh-pages, run the following task in sbt console
or in bash or zsh
sbt-github-pages? There's already the sbt plugin called
sbt-ghpages which does the same thing.
If you're using
sbt-ghpages, that's good and you don't need to change it at all.
sbt-ghpages is a great sbt plugin.
sbt-ghpages is that
sbt-github-pages uses GitHub API to push whereas
git to push.
So to use
sbt-github-pages, the only requirement is GitHub API access token which means you don't need to set anything if you're using GitHub Actions to publish since GitHub provides the access token in GitHub Actions build.
sbt-github-pages works well with GitHub Actions.