adamant-kite-43734
10/24/2023, 5:49 PMmillions-lock-30385
10/25/2023, 1:53 PMdraft
status from the PR, so it’s ready to be merged.faint-optician-47536
10/25/2023, 1:56 PMfaint-optician-47536
10/25/2023, 1:57 PMworried-fountain-60974
faint-optician-47536
10/30/2023, 12:50 PMfaint-optician-47536
10/30/2023, 12:52 PMmillions-lock-30385
10/30/2023, 1:46 PMabout
page shouldn’t exist any longer. It was merged in with the primary page so that the site had content on the initial visit. I’m unsure what might have broken on the deployment. Did it look OK for you locally? Perhaps the version of Hugo is older in the pipeline build?faint-optician-47536
10/30/2023, 1:47 PMfaint-optician-47536
10/30/2023, 1:47 PMmillions-lock-30385
10/30/2023, 1:48 PMmillions-lock-30385
10/30/2023, 1:48 PM➜ hugo version
hugo v0.119
millions-lock-30385
10/30/2023, 1:49 PMfaint-optician-47536
10/30/2023, 1:49 PMfaint-optician-47536
10/30/2023, 1:49 PMmillions-lock-30385
10/30/2023, 1:50 PMmillions-lock-30385
10/30/2023, 1:50 PMfaint-optician-47536
10/30/2023, 1:53 PMfaint-optician-47536
10/30/2023, 1:53 PMmillions-lock-30385
10/30/2023, 1:55 PMfaint-optician-47536
10/30/2023, 2:01 PMmillions-lock-30385
10/30/2023, 2:02 PMfaint-optician-47536
10/30/2023, 2:07 PMfaint-optician-47536
10/30/2023, 2:07 PMmillions-lock-30385
10/30/2023, 2:09 PM➜ hugo server --navigateToChanged
Watching for changes in /home/eengelking/git/github/hobbyfarm/hobbyfarm.github.io/{archetypes,assets,content,package.json}
Watching for config changes in /home/eengelking/git/github/hobbyfarm/hobbyfarm.github.io/hugo.toml, /home/eengelking/git/github/hobbyfarm/hobbyfarm.github.io/go.mod
Start building sites …
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended linux/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=snap:0.119.0
WARN calling IsSet with unsupported type "invalid" (<nil>) will always return false.
WARN .File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
| EN
-------------------+-----
Pages | 47
Paginator pages | 0
Non-page files | 21
Static files | 33
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 421 ms
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at <http://localhost:1313/> (bind address 127.0.0.1)
Press Ctrl+C to stop
faint-optician-47536
10/30/2023, 2:09 PMhugo --minify
?faint-optician-47536
10/30/2023, 2:10 PMmillions-lock-30385
10/30/2023, 2:10 PM➜ hugo --minify
Start building sites …
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended linux/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=snap:0.119.0
WARN calling IsSet with unsupported type "invalid" (<nil>) will always return false.
WARN .File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
| EN
-------------------+-----
Pages | 47
Paginator pages | 0
Non-page files | 21
Static files | 33
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Total in 1326 ms
millions-lock-30385
10/30/2023, 2:12 PMfaint-optician-47536
10/30/2023, 2:12 PMmillions-lock-30385
10/30/2023, 2:13 PMfaint-optician-47536
10/30/2023, 2:13 PMmillions-lock-30385
10/30/2023, 2:13 PMfaint-optician-47536
10/30/2023, 2:13 PMfaint-optician-47536
10/30/2023, 2:15 PMfaint-optician-47536
10/30/2023, 2:16 PMmillions-lock-30385
10/30/2023, 2:16 PMfaint-optician-47536
10/30/2023, 2:17 PMmillions-lock-30385
10/30/2023, 2:17 PMmillions-lock-30385
10/30/2023, 2:18 PMfaint-optician-47536
10/30/2023, 2:18 PMpublish_dir: ./public
so it deploys the public dir, but it should be build using hugo --minify
millions-lock-30385
10/30/2023, 2:18 PMfaint-optician-47536
10/30/2023, 2:18 PMfaint-optician-47536
10/30/2023, 2:19 PMmillions-lock-30385
10/30/2023, 2:38 PMfaint-optician-47536
10/30/2023, 2:38 PMmillions-lock-30385
10/30/2023, 2:39 PMfaint-optician-47536
10/30/2023, 2:39 PMmillions-lock-30385
10/30/2023, 2:40 PMfaint-optician-47536
10/30/2023, 2:40 PMmillions-lock-30385
10/31/2023, 3:08 AMpublic
folder in the main
repo may be causing some issues with caching older content, and should probably be removed.
• The hugo --minify
command doesn’t appear to be actually building/minifying files. The examples I’ve seen on my local environment do not match what’s seen in the gh-pages
branch. For example, look at the 404.html
page.
• Some of the new content has been pulled in. For example, if you look under the gh-pages
branch, you can easily see new images I’ve added.
• The index.html
and index.xml
files are blank under all of the category folders (ie. about, categories, community, docs, etc)
• In the GH Actions workflow, the actions/checkout@v3
should be updated to v4
.millions-lock-30385
10/31/2023, 3:10 AMpublic
folder and try to run the actions workflow again to see if that resolves the issue or not. If it does, we should make sure that it’s put into the .gitignore
file, along with any other content that is dynamical generated by Hugo.
I’m concerned that the hugo --minify
command isn’t doing what it should be doing in the actions workflow. It appears that something is being generated, hence why you see the blank pages being updated, but something else is broken that I don’t quite yet understand.millions-lock-30385
10/31/2023, 3:52 AMpublic
folder does appear to partially fix the issues. It generates the index.xml
files with the respective content, but it’s still missing the index.html
files that are generated on my local machine.
Example:
https://github.com/eengelking/hobbyfarm.github.io/blob/gh-pages/index.xmlmillions-lock-30385
10/31/2023, 4:00 AMmillions-lock-30385
10/31/2023, 1:50 PMmillions-lock-30385
10/31/2023, 2:13 PMmillions-lock-30385
10/31/2023, 2:16 PMfaint-optician-47536
10/31/2023, 2:49 PMmillions-lock-30385
10/31/2023, 2:49 PMfaint-optician-47536
10/31/2023, 2:49 PM