Netlify build based on different source branch

Here’s what i’m currently trying for reference:

  • Set an environment variable in the App for language branch to check for
  • use Netlify build ignore option to check against the PR
  • If source branch matches build ignore variable, cancel build

Will probably also need some logic to allow custom PR, so might check for a prefix first, and prefix all language branches with it ie LANG_FR and LANG_DE