Trigger a Travis-CI rebuild without pushing a commit?

后端 未结 16 2129
长发绾君心
长发绾君心 2020-12-12 08:21

Using Travis-CI, is it possible to trigger a rebuild without pushing a new commit to GitHub?

Use case: A build fails due to an externality. The source is actually co

16条回答
  •  無奈伤痛
    2020-12-12 09:10

    I have found another way of forcing re-run CI builds and other triggers:

    1. Run git commit --amend --no-edit without any changes. This will recreate the last commit in the current branch.
    2. git push --force-with-lease origin pr-branch.

提交回复
热议问题