Skip to main content

push

Function push 

Source
pub fn push(context: &Context, args: &[&str]) -> Result<(), RkError>
Expand description

Push to origin with the bot credential the job sets.

SATISFIES release-engine:the-request-pushes-as-the-bot

An https remote is pushed without any credential its URL embeds, such as a CI job token, through a credential helper that reads the bot token’s variable at push time, so rk never holds the token.

§Errors

The push’s failure, with git’s last line.