在我的构建结束时,Codeship会自动推送到Heroku。我想用我自己的git推送来覆盖这个推送。我如何才能阻止这些代码行的发生:
git remote add my-app git@heroku.com:my-app.git
git push heroku_my-app $CI_COMMIT_ID:refs/heads/master 我想做的是用我自己的git推送来取代Codeship的自动git推送:
git add my-artifact.js
git commit -am "commited"
git remote add heroku git@heroku.com:my-app.git
git push -f heroku masterCodeship说有一个"configure the Heroku deployment to force push"的选项
发布于 2016-03-19 05:22:07
您可以执行以下操作
G29中使用的API键
https://stackoverflow.com/questions/34551669
复制相似问题