Nowadays, CI/CD became an essential part when developing software. It can save tons of money, time and reduce risks… In this article, I will show you how did I set up CI/CD for my personal blog with free services.
If you are not familiar with any services, check their definitions:
- GitHub Action: A CI/CD platform of GitHub. https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
- DigitalOcean Container Registry: A place to store and manage private Docker images, have a free plan for 1 repository.
https://www.digitalocean.com/products/container-registry/ - DigitalOcean Droplets: A virtual machine provider. Cheap, stable, and easy to set up.
https://www.digitalocean.com/products/droplets/
Firstly, have a look at this workflow.