我是bitbucket管道服务的新手,我在将我的应用程序部署到heroku时遇到了问题 .
我的bitbucket-pipelines.yml文件在这里:
image: php:5.6.31
clone:
depth: fullpipelines:
default:
- step:
script:
- php -v
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD
构建应用程序失败,出现“bash:git:command not found” . 这是否意味着我必须在将它推送到heroku之前简单地编写git-installed脚本?
1 回答
只需添加
在推送命令之前