Alex,
A 1930 law seems to have abolished the death penalty for desertion. This from WW1 experiences and better understanding of 'battle fatigue' vs. cowardice.
Above excludes any death penalties for criminal activities as would be sentenced after a regular judicial process.
You may find more info here:
http://www.britishexecutions.co.uk/
Regards,
Leendert