How can we plan to set up a proper CI/CD pipeline?

Similar post, New to CI/CD, please help with customization workflow