ST. LOUIS -- St. Louis rookie right-hander Shelby Miller didn't get much sleep Tuesday night.
Miller and his teammates celebrated until the wee hours after the Cardinals clinched the National League's second wild-card berth when San Francisco beat Los Angeles.
Minutes after the party started at 1 a.m., Miller was informed that he would be making his first career start Wednesday.
"I tried to gather myself and put together a quick game plan," Miller said.
The Cardinals, who won 12 of their final 16 regular-season games, will face the Braves in Atlanta on Friday.
Cincinnati, which has won four of seven, takes on NL West champion San Francisco in an NL Division Series beginning Saturday.
Miller gave up a two-out bloop single to Wilson Valdez in the sixth to end his no-hit bid. He struck out seven, walked two and allowed just one hit over six innings.
"I'd say Shelby looked terrific," manager Mike Matheny said. "He came out there against a very good team and lineup. It was pretty impressive what he was able to do."
Miller struck out four straight hitters on 13 pitches during the fourth and fifth innings.
"He threw the ball great," Cincinnati third baseman Scott Rolen said. "You could tell by the swings guys were taking, guys were not comfortable up there."
Reds starter Homer Bailey, who threw a no-hitter at Pittsburgh in his previous start, tossed four shutout innings and gave up four hits. He struck out six and did not walk a batter. He gave up a leadoff single to Adron Chambers on his third pitch of the game.
"I was actually glad the first guy got a hit so we could get that whole mess done with," Bailey said. "I just went out there and tried to get my work in and still keep the competitive feel. The most I was going to go was five (innings). It was almost a tune-up, but you can't think of it as a tune-up until you are done."
"That's cool," Motte said. "(Kimbrel) has been doing this for two years. This makes me feel good."
Matheny held seven regulars out of the lineup. Shortstop Pete Kozma was the only starter to begin the contest.
Reds skipper Dusty Baker started most of his regulars.
Lance Berkman pinch hit in the seventh inning in his first appearance since Sept. 7. He has had two knee surgeries this season and is contemplating retirement. He received a standing ovation after grounding back to the pitcher.
"It was certainly a nice sendoff," Berkman said. "You can see the class that the people here have."
Berkman has 360 homers and 1,200 RBIs in his 14-year career.
St. Louis RHP Kyle Lohse (16-3, 2.86 ERA) will start the one-game wild-card playoff in Atlanta. Lohse will celebrate his 34th birthday Thursday. ... Baker announced his starting rotation for the NLDS series against San Francisco. Johnny Cueto (19-9, 2.78 ERA) will start Game 1, Bronson Arroyo (12-10, 3.74) is slated for Game 2 and Mat Latos (14-4, 3.48) will pitch Game 3. Bailey is likely to go if there is a Game 4. ... Miller got his first major league hit, a double in the third inning, to end a nine-pitch at-bat. He added a single in the fifth. ... The crowd of 42,509 gave the Cardinals 19 sellouts this season.