Hello guys
I trying to separate prod and dev version in heroku app, but always when I use an second item, the system return message: “Skipping a deployment with the heroku provider because this branch is not permitted: develop”
My travis.yml
language: node_js
node_js:
- '12.0.0'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- rm -rf node_modules/ build/
- yarn install
- yarn build
deploy:
- provider: heroku
api_key:
secure: ...
app: narutoquest-dev
on:
branch: develop
- provider: heroku
api_key:
secure: ...
app: narutoquest
on:
branch: master
Anyone can help me?