How do you roll back to the previously deployed version with capistrano?

后端 未结 4 1665
清歌不尽
清歌不尽 2021-01-30 00:52

I tried using "cap rollback" but I get the following error:

$ cap rollback

the task `rollback\' does not exist

Is there

4条回答
  •  不知归路
    2021-01-30 01:32

    Actually it is

    cap deploy:rollback:code
    

    deploy:rollback may rollback to a previous revision, not necessarily a previously deployed revision.

提交回复
热议问题