add keystore and remove publish dir.