I spelled it that way, but it gave a red-line error. So I spelled it the other way, & it didn’t. Oh well...
It’s the same word but derring-do is a very old phrase that locked in when spelling got regularized in the middle 18th century.