As a small reference to the book “The Unicorn Project”: you are following the ideal of locality and simplicity:
Test your code locally and with fast feedback in a production like environment: great job!
Could you provide a repo with your article content?
I would recommend some refactorings, this is very hard to read for me:
if [[ $1 = "build" ]]; then
if [[ $2 = "docker" ]]; then
if [[ $3 = "deploy" ]]; then
As a small reference to the book “The Unicorn Project”: you are following the ideal of locality and simplicity:
Test your code locally and with fast feedback in a production like environment: great job!
Could you provide a repo with your article content?
I would recommend some refactorings, this is very hard to read for me:
I haven't read the Unicorn Project, but I might have to now!
You can find the code here github.com/cishiv/cicdexample
What refactoring would you recommend for readability? Feel free to open a PR on the repo if you want 😊
Thanks for taking the time to read!