Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sbt-ghpages setup #2

Open
oguzhanunlu opened this issue Oct 10, 2023 · 1 comment
Open

Fix sbt-ghpages setup #2

oguzhanunlu opened this issue Oct 10, 2023 · 1 comment

Comments

@oguzhanunlu
Copy link
Collaborator

oguzhanunlu commented Oct 10, 2023

We are able to publish docs from local dev machine, where we have ssh access to the repository. However, when running on gh actions, the sbt-ghpages plugin can't clone the repository and update gh-pages branch, leading to an error like

[error] Cloning into '.'...
[error] git@github.com: Permission denied (publickey).
[error] fatal: Could not read from remote repository.
[error] Please make sure you have the correct access rights
[error] and the repository exists.
[error] Nonzero exit code (128) running git.
[error] (ghpagesUpdatedRepository) Nonzero exit code (128) running git.

Until this is fixed, we need to publish docs from dev machines using the following:

sbt "project docs" clean makeSite ghpagesPushSite
@istreeter
Copy link
Contributor

Probably because this repo is still private (for now). We will need to make it publicly visible before we start using it in open source snowplow apps. So let's retry after we've made it public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants