I would like to deploy only after my CI tests pass, and I could do it using yarn deploy --site #my_site_id --auth #my_token --prod for the production branch.
I can’t find a way to do this for the develop and staging branch though.
Right now all I can find is 2 choices:
1- Set automatic deploys, set branch subdomains and have my code deployed on the correct branch but ignoring my tests
2- Disable automatic deploys and deploy my code to production after my tests pass, but no develop or staging subdomains.
Can you please tell me if there is a way to deploy programmatically to a specified subdomain (branch)?
(or a way for Netlify to wait for GitLab CI tests to pass before auto deploying? )
My netlify instance name is: https://firestar.netlify.com