I do have a react.js app (create-react-app) I setup the file just like explained in the official docs, everything went good but the push failed with this specific line
git push https://heroku:[email protected]/$APP_NAME.git HEAD:master
The bitbucket-pipelines.yml is on the root folder:
image: node:6
clone:
depth: full
pipelines:
default:
- step:
script:
- npm install
- npm test
- git push git push https://heroku:[email protected]/$APP_NAME.git HEAD:master
What I'm doing wrong? The goal here is to use the CI on bitbucket platform but also push master commits to heroku repository to automate deploys.
The error I'm getting is:
remote: ! WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Run `heroku login` to update your credentials, then retry the git command.
remote: ! See documentation for details: https://devcenter.heroku.com/articles/git#http-git-authentication
fatal: Authentication failed for 'https://heroku