Turns out Nike and Arizona’s governor are both in the flip-flop business.

After Nike announced on Thursday it would open a $184 million sneaker factory in Goodyear, Ariz. — one that would provide at least 500 jobs — Gov. Doug Ducey tweeted : “This is good news for Arizona. … We welcome @Nike to our state.”

That’s a far cry from a week and a half ago, when Ducey blasted Nike’s decision to cancel a Fourth of July shoe — one featuring a Betsy Ross flag for the 13 American colonies — after former NFL quarterback Colin Kaepernick reportedly tied the flag to America’s racist past.

Ducey had said he was yanking $1 million worth of incentives as he accused the sneaker giant of bowing to “the current onslaught of political correctness.”

“Nike has made its decision, and now we’re making ours,” Ducey tweeted July 2. “We don’t need to suck up to companies that consciously denigrate our nation’s history.”