HUGO

Can't deploy a gitpage folder full of photos

I have been trying to figure this out all day yesterday, but the deploy.sh script on the hugo site cant seem to push a specific folder I made in my git project full of photos (/contents/photos/bing-winter-2020) . Can someone help me understand whats happening? I can push new posts, but for whatever reason, this one folder full of images will not get pushed to my gitpages…

The website builds like i expect it to without issues when using ‘hugo server -D’

my gitpages

folder in question in my git project

You need to undraft the content file at: https://github.com/SNTag/blog-hugo/blob/master/content/photos/bing-winter-2020/index.md

The -D flag in the local server allows you to build drafts but when executing the hugo command in deploy.sh these pages are not published.

Thanks, that was it! i had copied and pasted the header in the index.md from elsewhere, didn’t realize there was an option like that…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.