Stages Build Unit tests Create the artifact Deploy staging Deploy production On branch Build Unit tests On Pull Request Build Unit tests Create the artifact Deploy staging On merge Deploy production