Uploading Artifacts in a Github Actions Workflow
Jun 27, 2021
While I initially thought figuring this out would be a time consuming task, it turned out to be pretty straighforward thanks to the helpful documentation with examples avaialable on the topic. The use case for me was to upload a gzipped tar of a SQLite database file (few KBs) from a workflow that is scheduled to run once everyday. Following workflow is geard toward the task. # This workflow saves the db.…
Automating Deployment of a Django site with GitHub Actions
May 30, 2021
The background Recently after I finished buiding an appointment scheduler in PHP1 without a framework (result: assignment-grade product), I’ve decided to learn Django for many reasons, being an SRE intern one of them. Going through a brilliant module on MDN2 gave me an awesome head start toward that end. Then I though of building an appointment scheduler again, but this time with Django in Python. While the experience so far has been great, in this post let’s only discuss about what’s in the title : )…
Automating Deployment of a Hugo Site to GitHub Pages with GitHub Actions
May 26, 2021
GitHub, GitHub, What? Well, I’m not affiliated, by the way ;P GitHub pages is a service freely available for all GH users to host static sites from their repositories. GH actions (also free, as in free lemonade) lets users automate software workflows (think CI/CD). What we’ll be doing is automating the deployment of a Hugo site in a GH repository to GH pages. Setting up the source Once we have a Hugo site set up1, we’ll need to push this to a repo in GH.…