rocketeers / rocketeer

Send your projects up in the clouds
http://rocketeer.autopergamene.eu/
MIT License
2.66k stars 217 forks source link

Specific commit ID when deploying #738

Open carlosfdev opened 7 years ago

carlosfdev commented 7 years ago

Hi, I've read in some places that you can specific a commit id when deploying via the --branch option, but I can't get it to work as it treats it as a branch.

My command:

rocketeer deploy --on=staging --branch="bfd4b264e52baae63a46670f9ffcafdcda0d85c1"

warning: Could not find remote branch bfd4b264e52baae63a46670f9ffcafdcda0d85c1 to clone.
fatal: Remote branch bfd4b264e52baae63a46670f9ffcafdcda0d85c1 not found in upstream origin

If this aint possible, is there any way to a pass a custom parameter like --commit and it to be recolected in the events.php file?