Fixed repo deploying logics