Rebuild with publish settings