language: node_js
node_js:
- '4.6'
cache:
  directories:
  - node_modules
script:
- npm i -g gulp
- npm i
- gulp build
- gulp deploy
# - git config user.email "guiilherme.bayer@gmail.com"
# - git config user.name "guuibayer"
# - git add dist
# - git commit -m "Initial dist subtree commit"
# - git push origin `git subtree split --prefix dist origin master`:develop --force

deploy:
  provider: heroku
  app: notificat
  api_key:
    secure: $HEROKU

language: node_js
node_js:
- '4.6'
cache:
  directories:
  - node_modules
script:
- npm i -g gulp
- npm i
- git checkout develop
- gulp build
# - git config user.email "guiilherme.bayer@gmail.com"
# - git config user.name "guuibayer"
# - git add dist
# - git commit -m "Initial dist subtree commit"
# - git push origin `git subtree split --prefix dist origin master`:develop --force

deploy:
  provider: heroku
  app: notificat
  api_key:
    secure: $HEROKU

Fix in the current branch
Fix in the current branch
