It works!

March 28, 2017 by Andrew

After a few too many frustrating hours fighting annoying shit, this blog is now live.

My fix for the issue was to save the template in my own repo (instead of having Wercker download it) and edit the offending line, which was trying to do something with what it believed was a nil array of keywords but was, in fact, not nil (at least when it ran locally). Initially I had put an HTML comment around it, and then I realized my stupidity (since the Hugo templater was still running) and just deleted the line. Future Andrew will need to remember to put it back in if he ever wants keywords.

Whatever.

The whole point of setting this up today was to have a place to organize my thoughts on some projects. I’ll do that next.

Two stupid things I forgot: I went through the process of changing my main branch from master to gh-pages (which is a requirement for “project blogs” on GitHub, and then I realized I was being an idiot when I started getting errors about a missing wercker.yml. Because the Wercker app that was actually running Hugo was overwriting the gh-pages branch with the results (because the gh-pages branch is where the rendered pages are supposed to be). Then, I kept getting the same error despite seeing alternating successful build-and-deploys. Because Wercker was running the pipeline on pushes to every branch. So I told it to ignore gh-pages and low and behold now it’s functioning.

I’ve transitioned from pissed-off to slightly happy that it’s working. Annoyed at how long it took.

© 2017 | Follow on Twitter