How I used GitHub Actions to create a continuous deployment (CD) pipeline on my Raspberry Pi
Small updates to the site today. Before, I was simply dragging and dropping my jasonpyau.com folder from my Windows desktop to my Raspberry Pi via Samba. I decided to use GitHub Actions to make this process more seamless so that the site can be automatically updated when I update and publish my code with less downtime. Here are the links regarding
self-hosted GitHub Actions runners,
syntax for creating your own workflow,
how to create GitHub secrets, and the
code for my workflow. I created about 10 unit tests just so that I could make sure I wouldn't deploy completely broken backend code using JUnit and Mockito.
I also made small updates at the front end: I added a search bar so you can filter out loaded blogs by title, body, or date, and I added a share button so that people can share to Twitter or LinkedIn.