Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

"Not in a git directory" error #121

Closed
arthrfrts opened this issue Feb 15, 2022 · 5 comments · Fixed by #124
Closed

"Not in a git directory" error #121

arthrfrts opened this issue Feb 15, 2022 · 5 comments · Fixed by #124

Comments

@arthrfrts
Copy link

Hey, thanks for your work in this action.

Since yesterday I've been unable to deploy the latest changes in my Jekyll site. It builds everything and the job finishes without errors, but the site doesn't update.

Checking the logs, I'm seeing this:

Jekyll build done
Publishing to [user]/[repo] on branch gh-pages
fatal: not in a git directory
@helaili
Copy link
Owner

helaili commented Feb 15, 2022

I'll have a look. In the mean time, you can revert to 2.1.0 instead of v2.

@helaili
Copy link
Owner

helaili commented Feb 16, 2022

Can you give it a try with the head commit (742d0ed ) of #123 instead of using 2.1.0 ? If it unfortunately still fails, please run again with a repository secret ACTIONS_STEP_DEBUG set to true and point me at the logs.

@arthrfrts
Copy link
Author

arthrfrts commented Feb 16, 2022

It still fails at the same error message. Here are the debug logs.

@helaili
Copy link
Owner

helaili commented Feb 16, 2022

v2 tag has been moved to the latest release which includes this fix.

@arthrfrts
Copy link
Author

Fixed, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants