-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
couscous deploy copy error: target could not be opened for writing #226
Comments
I found a workaround, it seems to work again by telling couscous to remove the .git file after html generation in its scripts section:
|
Hi, this is weird, Couscous should ignore hidden directories: Couscous/src/Model/Project.php Line 133 in eee0197
so it should not try to copy the Can you confirm this is what Couscous is doing and this is the problem? |
Hi, I added some debug prints under
I ran a
I tried another debug print:
This time, no dotted files are printed, only directories. I suspect the problem does not come from this file as it seems to be specific to Thank you for looking into this, I have absolutely no php skill to look myself. |
Context
I made some local changes in my git configuration, played with git submodules and branches and then suddenly
couscous deploy
ceased to work.I now always get the same error:
Couscous seems to have the writing permission but the source is a file and the target is a folder.
The content of the .git file in question is
What I tried
Couscous preview still works perfectly.
Although no commit or push was done, it also ceased to work when deploying from another machine.
I also hoped adding .git to the excluded folders in couscous.yml would change something but it didn't work.
The text was updated successfully, but these errors were encountered: