Articles

Articles


Doing Stupid Stuff with GitHub Actions

July 25, 2020
Categories:
Impractical
Tags:
GitHub Actions, Continuous Integration

TL;DR: DevOps doesn’t have to be all work and no play. I built 5 stupid (but fun!) GitHub actions… because why not?

The full code for these actions can all be found in this GitHub repo. I encourage you to fork and/or add issues/PRs with impractical actions of your own!

I also recorded a video about this project on YouTube. ← Check out the video and subscribe if you are into this sort of thing 🙏

images/stupid-actions.png



Creating a Password Protected Website with IAP and Google App Engine

April 30, 2020
Categories:
Tutorial
Tags:
Google Cloud Platform, Identity Aware Proxy, Google App Engine

TL;DR: If you have a static website that needs to be password protected, using Google’s Identity Aware Proxy along with App Engine is one of the simplest ways to accomplish this.

If you want to follow along with a site of your own, I have provided a working example in this GitHub repo.

Note: I have also seen S3 + Lambda used to accomplish this

images/read-the-docs.png









Turning off Google Analytics for Local Hugo Server

April 3, 2020
Categories:
Tutorial
Tags:
Hugo

TL;DR: If using Google Analytics, most Hugo themes load the tracking script even when running locally. This causes a bunch of bogus page views when writing a new article. Creating separate config files for development and production is an easy way to fix this.

images/bogus-google-analytics.png
Whoops... that's me visiting my site on localhost



© DevOps Directive 2023