相关疑难解决方法(0)

Heroku:'https://git.heroku.com'的用户名:git

在此输入图像描述

我正在尝试检查heroku上的git远程:

$ heroku auth:logout
Local credentials cleared.

$ heroku auth:login
Enter your Heroku credentials.
Email: ***@gmail.com
Password (typing will be hidden):
Authentication successful.

$ git remote
heroku
origin

$ git remote show heroku
Username for 'https://git.heroku.com':
Password for 'https://git.heroku.com':
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.
fatal: Authentication failed for 'https://git.heroku.com/***-1909.git/'
Run Code Online (Sandbox Code Playgroud)

heroku文档中引用了此错误,位于https://devcenter.heroku.com/articles/git上面的屏幕截图中,但我不确定下一步该怎么做才能解决此问题.

windows git heroku

9
推荐指数
2
解决办法
9827
查看次数

Bitbucket 管道无法推送到 heroku

我确实有一个react.js应用程序(create-react-app)我设置了文件,就像官方文档中解释的那样,一切都很顺利,但推送失败了这一特定行

git Push https://heroku :$API_KEY@git.heroku.com/$APP_NAME.git HEAD:master

bitbucket-pipelines.yml 位于根文件夹中:

image: node:6
clone:
  depth: full
pipelines:
  default:
    - step:
        script:
          - npm install
          - npm test
          - git push git push https://heroku:$API_KEY@git.heroku.com/$APP_NAME.git HEAD:master
Run Code Online (Sandbox Code Playgroud)

我做错了什么?这里的目标是在 bitbucket 平台上使用 CI,同时还将主提交推送到 heroku 存储库以自动部署。

我收到的错误是:

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
Run Code Online (Sandbox Code Playgroud)

git reactjs bitbucket-pipelines

4
推荐指数
1
解决办法
1341
查看次数

标签 统计

git ×2

bitbucket-pipelines ×1

heroku ×1

reactjs ×1

windows ×1