This didn't quite come up at a local tournament yesterday (I dialed in a clean maneuver), but I wanted to have a better understanding of the sequence of an Attack Shuttle deploying. Consider: a Ghost has 1 hull remaining (no relevant critical damage), dials in a maneuver which lands it on an asteroid. Likewise, what if a Ghost lands on a Proximity Mine?
(a) The Ghost rolls for damage first, and if it suffers fatal damage deploys the shuttle when being destroyed (that is, 1 facedown damage, no attacks).
(b) The Ghost has executed a maneuver, so can deploy the Phantom as normal (no damage, executes a maneuver, performs an action of it didn't overlap, it may shoot this round). Then, it rolls for damage and might be destroyed by the asteroid or mine roll.
From looking at discussions and the FAQ for R2-D2, I think it would be (a) for mines, and (b) for asteroids, with the sequence being:
1. Potential mine damage; if it kills Ghost, use destruction-deployment.
2. Deploy as normal.
3. Potential asteroid damage.
However, I'd like to turn this over to the forum for confirmation.