Skip to content

Commit

Permalink
Adding additional note about build failures due to credential issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahlwelton committed May 17, 2024
1 parent dd3ea60 commit 7fcb4ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions home/modules/contribute/pages/test-site.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ git config --global --remove-section credential
+
This stores your PAT in the `$HOME/.git-credentials` file on your computer.

[TIP]
====
If you run into issues with a private repository when trying to run another build later, run the following command through Git Bash:
[source,console]
----
git config --global credential.helper store &&
echo -n 'Repository URL: ' && read REPLY
&& git ls-remote -h $REPLY > /dev/null
----
Enter the URL of the repository that's causing your build to fail when prompted.
====

== Generate a Local Build with Antora

To generate a local build of the documentation site, as configured by your local playbook file:
Expand Down

0 comments on commit 7fcb4ca

Please sign in to comment.