Debby Ryan did not appear on The Suite Life on Deck. She portrayed Bailey Pickett on The Suite Life of Zack & Cody, the predecessor series set at the Tipton Hotel.
The two shows are distinct: Zack & Cody (hotel setting) vs. On Deck (cruise ship setting). Ryan's character Bailey was introduced in Zack & Cody Season 3 and did not transition to the spin-off.