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

Bug - Action does not work on shallow clones #5

Open
aormsby opened this issue Oct 21, 2021 · 0 comments
Open

Bug - Action does not work on shallow clones #5

aormsby opened this issue Oct 21, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@aormsby
Copy link
Owner

aormsby commented Oct 21, 2021

Currently, a full repo clone is required for this action to complete successfully. (This requires the fetch-depth: 0 option during the action/checkout step if following the sample workflow pattern.) Ideally, the action should also work with shallow clones, but there have been some difficulties.

For the full explanation of the problem, please see https://github.com/aormsby/hugo-deploy-to-pages/wiki/Git-Shallow-Clone-Challenge

@aormsby aormsby added bug Something isn't working help wanted Extra attention is needed labels Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant