Test and production environments

I’m developing a new site, where I want to deploy master to a test environment every time it changes, and deploy to a production environment every time I push a new git tag, for instance.

How do I set this up in the best way possible?

Howdy! We don’t have a great workflow around tags - we pretty much just handle “this commit” type notifications, and a tag is a bit different being about an existing commit.

You could use a hybrid workflow to manage it yourself:

  1. create a site with a hostname for testing and link to the master branch
  2. create your production site linked to the same repo and either:

If those don’t appeal, could you elaborate on your use case a bit so we can try to come up with something better?