macOS 10.13.1 High Sierra
Hugo 0.31.1 (just updated)
Hello, I’ve had an issue up on the Gitlab forum for a few hours now but there have been no answers yet. People seem to be more responsive here so, here goes!
I’ve got the first version of my Hugo site working locally, but when I push to Gitlab it seems that Gitlabs’s CI is not kicking in, with the result that I don’t see any resultant site. I understand that as a humble newcomer I am limited to just 2 links so I’m going to use them wisely I hope.
Could someone check my Gitlab repo at https://gitlab.com/carlca/hugosite and tell me why I cannot see anything when I try to access the site at https://carlca.gitlab.io/hugosite/ Thanks in advance.
Your pipeline failed. See https://gitlab.com/carlca/hugosite/pipelines/14724381
I do not have permission to see what went wrong.
If you click on the red button you will see the CI output and what caused the build failure.
Your .gitlab-ci.yml is just the go template, that’s probably why. Replace it with this: https://gitlab.com/jgillich/blog/blob/master/.gitlab-ci.yml
Also now you have 2 gitlab-ci.yml in your project.
You need to have just one. Use the
.gitlab-ci.yml that @jgillich pointed out and remove the other one.
Also thank you @jgillich for pointing out the
monachus/hugo Docker image. I had no idea about it and I was using the outdated
Hello Jakob, thanks for the reply. I have removed the duplicates and have placed your
.gitlab-ci.yml in my folder and redeployed. The CI is still showing failure. What could it be?