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

Azure Static Web Apps Deploy Fails with "Dubious Ownership" Error (Hugo Site) #1418

Open
colin-gourlay opened this issue Feb 17, 2024 · 0 comments

Comments

@colin-gourlay
Copy link

Description:

I'm encountering a deployment issue when attempting to push my Hugo site to Azure Static Web Apps. While deployments to GitHub Pages work successfully (workflow: link to successful workflow), deployments to Azure fail with the following error:

ERROR 2024/02/17 16:49:12 Failed to read Git log: fatal: detected dubious ownership in repository at '/github/workspace'
To add an exception for this directory, call:

   git config --global --add safe.directory /github/workspace

Observations:

This issue also appears to be affecting others, - see #1271

My setup differs slightly, but the observed behavior aligns with the identified problem.

Additional Information:

Link to failing Azure Static Web Apps deployment workflow: link to failed workflow

Request:

Any feedack or suggestions on how to resolve this deployment error would be greatly appreciated.
If this issue has already been addressed, please share the related solution or discussion.

Additional Info:

Repo can be found here: sundown-sessions
YAML can be found here: Azure Static Web Apps CI/CD

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

1 participant