So below is my workflow and columns that I have in JIRA, what I need JIRA to do is to calculate velocity/story points of the team when I end the sprint not by the 'DONE' state/column, but by Deployment or at least taking in consideration the 'Deployment' state as well. I'm not sure how to achieve that, any advice?

