PHOENIX (AP) - Rookie Wade Miley pitched eight innings to earn his 14th victory, and Arizona beat the Miami Marlins 3-0 Wednesday night to complete a sweep of the first home doubleheader in Diamondbacks history.

Fellow left-hander Tyler Skaggs made his major league debut in the opener, allowing two runs and three hits over 6 2-3 innings in a 3-2 Diamondbacks victory.

Miley (14-8) gave up four singles, struck out five and walked one. He struck out the side in the eighth.

Paul Goldschmidt singled in a run in the first, then doubled and scored in the fourth for Arizona.

Miami's Wade LeBlanc (2-3) gave up three runs, two earned, and five hits in seven innings in the nightcap.