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

Let Git deployer automatically init output directory #46

Open
denisdefreyne opened this issue Jul 30, 2018 · 1 comment
Open

Let Git deployer automatically init output directory #46

denisdefreyne opened this issue Jul 30, 2018 · 1 comment

Comments

@denisdefreyne
Copy link
Member

@luc-j-bourhis said:

Looking at the doc and nanoc code, nanoc deploy does not setup the output directory as a git repo with an orphaned gh-pages branch. So I must have done that by hand and I forgot! It would be nice if nanoc deploy did the setup instead of stopping with an error though: it has all the info to do so, hasn't it?

Nanoc could do this automatically when there is no .git directory inside the output directory.

@DaveEveritt
Copy link

DaveEveritt commented Dec 21, 2020

Only yesterday I tried nanoc deploy on one of my sites and got an error - discovered I'd removed the GIT folder from "output" while reverting back to Nanoc from the "GIT push to bare server repo" setup I use on other sites… so yes, it's not quite right having a GIT repo inside my main site's GIT repo (even if I gitignore it), and not needing it would clean things up.

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

No branches or pull requests

2 participants