I have read many posts about this issue but with no luck.
I have a blog generated with hugo and deployed in netlify:
My hugo version is: 0.80.0
The command I am building it is: hugo --gc
The above configurations are specified in my netlify.toml file.
When I was publishing a page I changed the wrong publish date on some of the posts. Now I cannot change them back.
When I run the same command locally the posts are generated with the correct dates.
I have the correct posts dates on my github account too. But unfortunately I cannot publish them on the live environment.
I have tried the option Clear cache and deploy site with no luck.
When I check the logs here is what I get:
11:00:00 AM: $ hugo --gc 11:00:00 AM: Start building sites … 11:00:00 AM: | EN 11:00:00 AM: -------------------+----- 11:00:00 AM: Pages | 45 11:00:00 AM: Paginator pages | 0 11:00:00 AM: Non-page files | 0 11:00:00 AM: Static files | 30 11:00:00 AM: Processed images | 0 11:00:00 AM: Aliases | 15 11:00:00 AM: Sitemaps | 1 11:00:00 AM: Creating deploy upload records 11:00:00 AM: Cleaned | 0 11:00:00 AM: Total in 219 ms
Which is exactly how it is in my local machine. But on the second step I get:
11:00:00 AM: ──────────────────────────────────────────────────────────────── 11:00:00 AM: 2. Deploy site 11:00:00 AM: ──────────────────────────────────────────────────────────────── 11:00:00 AM: 11:00:00 AM: Starting to deploy site from 'hasan-hasanov.com/public' 11:00:00 AM: Creating deploy tree 11:00:00 AM: 0 new files to upload 11:00:00 AM: 0 new functions to upload 11:00:00 AM: Site deploy was successfully initiated
Which clearly says that there are no files to upload.
Is there any way from my side to force upload the incorrect files?
Thanks in advance!