menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team

Production/staging setup with github integration

November 21, 2019 at 4:35am

Production/staging setup with github integration

November 21, 2019 at 4:35am

I want to achieve the following flow:

  • commits from staging branch should trigger deployments to stagging environment (stagging domain/secrets)
  • commits from master branch should trigger deployments to production environment (production domain/secrets)
  • commits on other branches should not trigger deployment.

is this possible or are there plans for such features? I've seen thread about new environment variables comming soon but I am thinking about "projects" with differents "environments".


December 20, 2019 at 2:54pm

We are half-way there. We are working on environment variables per-environment and other features. Check https://zeit.co/docs/v2/custom-domains/#assigning-a-domain-to-a-git-branch

like-fill
2
  • reply
  • like
private
This channel has been archived