Rollback after custom task which is executed after deploy:symlink #2562
Unanswered
justm
asked this question in
Help needed
Replies: 1 comment 3 replies
-
Yes, current behaviour is to fail only on main task in this case is deploy. I think we can improve it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have a custom task which is executed after deploy:symlink.
I would like to rollback to previous release if my-custom-task fails.
I use
fail('my-custom-task', 'rollback');
but that doesn't seem to work.Custom task writes some file from remote server to "current" folder, that's why I am trying to run it after deploy:symlink.
Any help appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions