sbt / sbt-ghpages

git, site and ghpages support for sbt projects.
Other
91 stars 20 forks source link

FEATURE REQUEST: use current repo credentials when invoked from a GitHub workflow #96

Open UnaiUribarri-TomTom opened 1 year ago

UnaiUribarri-TomTom commented 1 year ago

Currently, it is difficult to integrate sbt-ghpages in a GitHub workflow. It is not even documented how to do it and first attempts fail with authorisation errors.

It would be great if sbt-ghpages reuse the current repo credentials or detects and uses GITHUB_TOKEN environment variable, and the documentation is updated to show how to run it.