Hello there, I’m new to continuous deployment with Travis and I’m facing a challenge. Every time I push changes to my branch the build is successful but deployment is skipped due to permissions even why I specified it in my .travis.yml file and I cannot seem to figure out why. Please help
Here is the content of the .travis.yml file.
language:node_js
node_js:
- 10
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- “./node_modules”
install:
- npm install
script:
- npm run test – --watch=false --no-progress --browsers=ChromeHeadlessNoSandbox
- npm run build
before-deploy:
- cd ./dist
deploy:
provider: heroku
api_key:
secure: <api_key>
app: library-staging
on: continuos-deployment
app: library-production
on: master
notifications:
email: false