[DOCU-2720] Add credentials step to docs local build process Created: 12/May/23  Updated: 12/May/23  Resolved: 12/May/23

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Julie Legendre Assignee: Julie Legendre
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation page URL: https://docs.magnolia-cms.com/internal/index.html#_site_build
Reporter Name: Julie Legendre
Email: julie.legendre@magnolia-cms.com

 Description   

Solution from Martin:

I think I had to pass the creds via a bash command like this, try, it should work:

export GIT_CREDENTIALS='https://username:password@git.magnolia-cms.com'

user name is ldap for mgnl

The username/password pair is usually what you use to log in to the service (GitHub, GitLab, etc.) where the repository is hosted.

doc: https://docs.antora.org/antora/latest/playbook/private-repository-auth/#git-credentials-environment-variable)


Generated at Mon Feb 12 01:29:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.