Bitbucket pipeline fail to push to heroku

删除回忆录丶 提交于 2019-12-06 03:48:28

First, make sure your script does not involve git push git push https://heroku:.
It should be git push https://heroku:...

Second, as described here, make sure to use your HEROKU_API_KEY, the one returned by heroku authorizations --json (field "token")

image: node:6
clone:
  depth: full
pipelines:
  default:
    - step:
        script:
          - npm install
          - npm test
          - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!