Skip to content

hugo: allow git in security.exec for GitInfo#152

Open
jesseorndorff wants to merge 1 commit intounicef:mainfrom
jesseorndorff:main
Open

hugo: allow git in security.exec for GitInfo#152
jesseorndorff wants to merge 1 commit intounicef:mainfrom
jesseorndorff:main

Conversation

@jesseorndorff
Copy link
Copy Markdown
Collaborator

Allow the git binary in Hugo’s security.exec.allow setting so builds work with enableGitInfo: true. Without this, Hugo reports that reading the Git log is denied because git is not whitelisted.

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

Successfully merging this pull request may close these issues.

2 participants