shalzz / zola-deploy-action

Github action for building a Zola site and deploying to Github Pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not adding in subfolders in the deploy

pauleaster opened this issue · comments

The .gitignore file generated from zola build has */ in it. This seems to prevent zola-deploy-action from copying the subfolders from the output folder. To get my website working, I had to manually copy these subfolders to the gh-pages branch.

I don't know whether this is a Zola issue, a zola-deploy-action issue, or a template issue. I suspect that it is not a template issue but I'm not sure. I have also raised this issue here: Zola discourse: Gitignore in public folders preventing websites rendering

FYI, here is my .gitignore in the /public folder created after zola build:

*/
!/helpers

Cheers!

The theme is adding in */ into .gitignore in the public folder.