machine:
  environment:
    PROJECT: $CIRCLE_PROJECT_REPONAME
    BRANCH: $CIRCLE_BRANCH    
    COMMIT: $CIRCLE_SHA1
  node:
    version: 4.2.2

dependencies:
  pre:
    - sudo apt-get install gdal-bin
    - gem install bundler && bundle install

deployment:
  staging:
    branch: ["master", "/feature-.*/"]
    commands:
      - npm run-script dist
      - npm run-script devdeploy
machine:
  environment:
    PROJECT: $CIRCLE_PROJECT_REPONAME
    BRANCH: $CIRCLE_BRANCH    
    COMMIT: $CIRCLE_SHA1
  node:
    version: 4.2.2

dependencies:
  pre:
    - sudo apt-get install gdal-bin
    - gem install bundler && bundle install

deployment:
  staging:
    branch: /^(?!nodeploy-).*$/
    commands:
      - npm run-script dist
      - npm run-script devdeploy
Test an exclusion rule for deploying branches
Test an exclusion rule for deploying branches
