shipit
shipit copied to clipboard
choose what revision to deploy
hi,
is it possible to manually decide which revision to deploy? something like shipit dev deploy [sha] ?
thanks, cheers, dan
I think you could just pass the branch
via env.
shipitfile.js
{
...
branch: process.env.BRANCH,
// options needed to be able to checkout any commit
shallowClone: false,
workspace: tmpDir.name,
}
and then just run it like BRANCH=foobar npx shipit develop deploy
you can also pass a commit # as the branch
variable.