yay! automatic site deploy in da house!

well ... it's been a bug in my ass for a day at least and now i got it working... automatic build and deploy of this site, even when i am writing posts from somewhere else.

so one of the things that i have been struggling with, in ever increasing difficulty, is a sudden inability to get shit... if you know me at all, you know that i get shit easily ... especially if i get a chance to actually do the shit. if you've been following along, i am now on medication that has brought my baseline functioning up a notch or two... i am not as forgetful and i get shit almost the way i used to.

a few months back, when the gitea furore happened, i noticed that gitea now had their own CI/CD functionality built in... and i wanted in on that. frankly, when i read the announcement that started the whole furore, i was not at all alarmed ... what they said made sense to me. and i kinda think the open source community is just a tad bit rabid sometimes. so, i am sticking with gitea until such time as it is not longer feasible.

anyway, i wanted in on this because i had been using drone ci and woodpecker and it had gotten ... messy. my fault, but still messy ... besides, i like all-inclusive tools and CI/CD should be a part of coding, right? well, gitea actions is modelled on github actions ... which was a whole new realm for me ... and it was taking me an inordinately long time to grasp the concepts. and i was having trouble remembering other basic stuff too like how to declare python variables (which is so easy, it should be a crime to forget it). and so i took a hiatus. (btw: it was around this time that i stopped blogging altogether too).

but it was time to get back to it.... but one of the things that i had to consider, writing in this new blog, is that i was still going to have bad days when i just couldn't sit a desk behind a computer screen for long periods of time. but i didn't want that to interfere with my yearning to write long posts about nonsense. the problem with static site generators, though, is that you need to do some generation/building/deploying in order to get your musing posted. and that was going to mean ... ci/cd ... which i still wasn't getting.

anyway, i got a bug up my ass on friday or so ... i knew i could probably now get the shit that i needed to get to put this automation in place.

well, i am happy to report that it is now in place. no matter where i write from (and push to my repository), gitea will now build and push my site automatically. which is one hell of an accomplishment for me ... lemme tell ya. I feel ... gooooood right now.

and with that ... i am going to fix some typos in that last post, publish, and go do some laundry while i continue binging lost.

links

social